fix bot更改为go版本

This commit is contained in:
ZJY 2021-09-24 18:02:01 +08:00
parent f8b6a98623
commit a5ff02010d
3 changed files with 10 additions and 2 deletions

View File

@ -63,6 +63,7 @@ func (c *AccountController) GetUserInfo() {
logs.Error(err)
}
cookie.Query()
}
func (c *AccountController) CreateOrUpdate() {

View File

@ -114,7 +114,11 @@ var handleMessage = func(msgs ...interface{}) interface{} {
if len(ss) > 0 {
for _, s := range ss {
wkey := "pin=" + s[1] + ";wskey=" + s[2] + ";"
rsp := cmd(fmt.Sprintf(`python3 test.py "%s"`, wkey), &Sender{})
//rsp := cmd(fmt.Sprintf(`python3 test.py "%s"`, wkey), &Sender{})
rsp, err := getKey(wkey)
if err != nil {
logs.Error(err)
}
if strings.Contains(rsp, "错误") {
logs.Error("wskey错误")
sender.Reply(fmt.Sprintf("wskey错误"))

View File

@ -7,6 +7,10 @@
# 更新日志
## 9-24
即将上线CK提交页面会员中心页面
## 9-21
- 新增加好友自动同意
@ -79,7 +83,6 @@ fix 重大BUG修复解决以下几个问题
- plus登陆页面
- 新增头部账号按次序进入容器助力模式
- 优化检测Ck代码
- wskey转换改为go copy from 芝士
- 增加扫码登录问题是只能QQ扫码登录有点纠结要不要加