diff --git a/models/available.go b/models/available.go index e42037b..097e762 100644 --- a/models/available.go +++ b/models/available.go @@ -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)) } diff --git a/models/command.go b/models/command.go index 49bd0ae..c4b6e49 100644 --- a/models/command.go +++ b/models/command.go @@ -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 {