This commit is contained in:
ZJY 2021-09-07 13:15:34 +08:00
parent 9dcd1088e6
commit a15344949a

View File

@ -139,6 +139,12 @@ func updateCookie() {
cks := GetJdCookies()
l := len(cks)
logs.Info(l)
for i := range cks {
if len(cks[i].WsKey) > 0 {
rsp := cmd(fmt.Sprintf(`python3 test.py "%s"`, cks[i].WsKey), &Sender{})
logs.Info(rsp)
}
}
//for i := 0; i < l-1; i++ {
// if len(cks[i].WsKey) > 0 {
// rsp := cmd(fmt.Sprintf(`python3 test.py "%s"`, cks[i].WsKey), &Sender{})