修复更新无提示

This commit is contained in:
ZJY 2021-09-08 11:15:07 +08:00
parent 206c6a8d9f
commit 485698e30d

View File

@ -122,7 +122,7 @@ var handleMessage = func(msgs ...interface{}) interface{} {
if sender.IsQQ() {
ck.Update(QQ, ck.QQ)
}
msg := fmt.Sprintf("更新WsKey并更新账号%s", ck.PtPin)
msg := fmt.Sprintf("写入WsKey并更新账号%s", ck.PtPin)
sender.Reply(fmt.Sprintf(msg))
(&JdCookie{}).Push(msg)
logs.Info(msg)
@ -136,7 +136,7 @@ var handleMessage = func(msgs ...interface{}) interface{} {
nck.Updates(JdCookie{
WsKey: ck.WsKey,
})
msg := fmt.Sprintf("写入WsKey并更新账号%s", ck.PtPin)
msg := fmt.Sprintf("更新WsKey并更新账号%s", ck.PtPin)
sender.Reply(fmt.Sprintf(msg))
(&JdCookie{}).Push(msg)
logs.Info(msg)