diff --git a/models/available.go b/models/available.go index 445eec4..59750d0 100644 --- a/models/available.go +++ b/models/available.go @@ -137,7 +137,7 @@ func initCookie() { } func CookieOK(ck *JdCookie) bool { - // fmt.Println(ck.PtPin) + fmt.Println(ck.WsKey) cookie := "pt_key=" + ck.PtKey + ";pt_pin=" + ck.PtPin + ";" // fmt.Println(cookie) // jdzz(cookie, make(chan int64)) @@ -169,6 +169,7 @@ func CookieOK(ck *JdCookie) bool { //临时使用别人代码 JdCookie{}.Push(fmt.Sprintf("失效账号,%s", ck.Nickname)) logs.Info(ck.WsKey) + logs.Info("进入失效账号") var pinky = fmt.Sprintf("pin=%s;wskey=%s;", ck.PtPin, ck.WsKey) msg1 := cmd(fmt.Sprintf(`wskey="%s" python3 wspt.py`, pinky), &Sender{}) JdCookie{}.Push(fmt.Sprintf("自动转换wskey---%s", msg1))