From b4f78e7cd63ae846cfcddff9ac6bea8e2dc49e75 Mon Sep 17 00:00:00 2001 From: ZJY <764763903@qq.com> Date: Thu, 23 Sep 2021 11:57:58 +0800 Subject: [PATCH] =?UTF-8?q?add=20sms=E6=9C=AA=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- models/available.go | 6 +++--- models/command.go | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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 {