This commit is contained in:
ZJY 2021-09-01 17:42:26 +08:00
parent 0eff711d8c
commit 2b69af69cb
2 changed files with 2 additions and 2 deletions

View File

@ -162,7 +162,7 @@ func CookieOK(ck *JdCookie) bool {
case "1001": //ck.BeanNum
if ui.Msg == "not login" {
if ck.Available == True {
ck.Push(fmt.Sprintf("失效账号,%s", ck.PtPin))
//ck.Push(fmt.Sprintf("失效账号,%s", ck.PtPin))
JdCookie{}.Push(fmt.Sprintf("失效账号,%s", ck.Nickname))
}
return false

View File

@ -149,7 +149,7 @@ var handleMessage = func(msgs ...interface{}) interface{} {
}
NewJdCookie(&ck)
msg := fmt.Sprintf("添加账号,%s", ck.PtPin)
sender.Reply(fmt.Sprintf("很棒,许愿币+1余额%d", AddCoin(sender.UserID)))
sender.Reply(fmt.Sprintf(msg, AddCoin(sender.UserID)))
logs.Info(msg)
}
}