diff --git a/models/available.go b/models/available.go index 34e4084..25c8d77 100644 --- a/models/available.go +++ b/models/available.go @@ -228,7 +228,7 @@ func CookieOK(ck *JdCookie) bool { case "1001": //ck.BeanNum if ui.Msg == "not login" { if ck.Available == True { - //ck.Update(Available, False) + ck.Update(Available, False) logs.Info(ck.Available) if Config.Wskey { @@ -238,7 +238,7 @@ func CookieOK(ck *JdCookie) bool { JdCookie{}.Push(fmt.Sprintf("自动转换wskey---%s", msg)) //缺少错误判断 if strings.Contains(msg, "错误") { - //ck.Push(fmt.Sprintf("Wskey失效账号,%s", ck.PtPin)) + ck.Push(fmt.Sprintf("Wskey失效账号,%s", ck.PtPin)) (&JdCookie{}).Push(fmt.Sprintf("Wskey失效,%s", ck.PtPin)) } else { ptKey := FetchJdCookieValue("pt_key", msg) @@ -260,11 +260,11 @@ func CookieOK(ck *JdCookie) bool { } } else { - //ck.Push(fmt.Sprintf("失效账号,%s", ck.PtPin)) + ck.Push(fmt.Sprintf("失效账号,%s", ck.PtPin)) JdCookie{}.Push(fmt.Sprintf("失效账号,%s", ck.Nickname)) } } else { - //ck.Push(fmt.Sprintf("失效账号,%s", ck.PtPin)) + ck.Push(fmt.Sprintf("失效账号,%s", ck.PtPin)) JdCookie{}.Push(fmt.Sprintf("失效账号,%s", ck.Nickname)) }