测试BUG

This commit is contained in:
ZJY 2021-09-04 22:47:26 +08:00
parent 0d049a2940
commit f81086c094

View File

@ -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))