tg 测试版
This commit is contained in:
parent
3e8ee7626b
commit
f11fafdfed
@ -143,7 +143,7 @@ func updateCookie() {
|
||||
if len(cks[i].WsKey) > 0 {
|
||||
time.Sleep(10 * time.Second)
|
||||
ck := cks[i]
|
||||
JdCookie{}.Push(fmt.Sprintf("更新账号账号,%s", ck.Nickname))
|
||||
//JdCookie{}.Push(fmt.Sprintf("更新账号账号,%s", ck.Nickname))
|
||||
var pinky = fmt.Sprintf("pin=%s;wskey=%s;", ck.PtPin, ck.WsKey)
|
||||
rsp := cmd(fmt.Sprintf(`python3 test.py "%s"`, pinky), &Sender{})
|
||||
logs.Info(rsp)
|
||||
|
||||
@ -184,13 +184,12 @@ var codeSignals = []CodeSignal{
|
||||
},
|
||||
},
|
||||
{
|
||||
Command: []string{"更新账号"},
|
||||
Command: []string{"账号更新"},
|
||||
Admin: true,
|
||||
Handle: func(sender *Sender) interface{} {
|
||||
sender.Reply("更新所有账号")
|
||||
logs.Info("更新所有账号")
|
||||
updateCookie()
|
||||
|
||||
//updateCookie()
|
||||
return nil
|
||||
},
|
||||
},
|
||||
|
||||
1103
scripts/jd_bean_change_new.js
Normal file
1103
scripts/jd_bean_change_new.js
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user