更新获取用户链接地址
This commit is contained in:
parent
4a13701e37
commit
e04b0f3b45
|
@ -48,7 +48,7 @@ func GetAbout() string {
|
||||||
*/
|
*/
|
||||||
func CheckUserCookie(cookies []*http.Cookie) (bool, error) {
|
func CheckUserCookie(cookies []*http.Cookie) (bool, error) {
|
||||||
client := GetClient()
|
client := GetClient()
|
||||||
response, err := client.R().SetCookies(cookies...).Get("https://pc-api.xuexi.cn/delegate/score/get")
|
response, err := client.R().SetCookies(cookies...).Get("https://pc-proxy-api.xuexi.cn/delegate/score/get")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Errorln("获取用户总分错误" + err.Error())
|
log.Errorln("获取用户总分错误" + err.Error())
|
||||||
return true, err
|
return true, err
|
||||||
|
|
Loading…
Reference in New Issue