This commit is contained in:
cdle 2021-08-20 09:15:03 +08:00
parent 6799b1d5e4
commit 9172e504fd
2 changed files with 1 additions and 1 deletions

View File

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

View File

@ -106,7 +106,6 @@ var handleMessage = func(msgs ...interface{}) interface{} {
if !isAdmin(msgs...) {
return "你没有权限操作"
}
return fmt.Sprintf("操作成功,更新%d条记录", db.Model(JdCookie{}).Update(Hack, False).RowsAffected)
case "status", "状态":
if !isAdmin(msgs...) {