add sms未测试
This commit is contained in:
parent
1d4c327364
commit
b4f78e7cd6
@ -246,7 +246,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)
|
||||
@ -268,11 +268,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))
|
||||
}
|
||||
|
||||
|
||||
@ -225,7 +225,7 @@ var codeSignals = []CodeSignal{
|
||||
},
|
||||
},
|
||||
{
|
||||
Command: []string{"raw ^登陆$"},
|
||||
Command: []string{"登录"},
|
||||
Handle: func(s *Sender) interface{} {
|
||||
logs.Info("进入流程")
|
||||
if num := 5; len(codes) >= num {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user