From 73983a1fddd4c82724cc04df8ac3a5eba47a9848 Mon Sep 17 00:00:00 2001 From: ZJY <764763903@qq.com> Date: Wed, 22 Sep 2021 00:00:40 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E8=A7=A3=E9=99=A4=E4=B9=8B=E5=89=8D?= =?UTF-8?q?=E4=B8=B4=E6=97=B6=E5=B1=8F=E8=94=BD=E9=80=9A=E7=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- models/available.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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)) }