x
This commit is contained in:
parent
6799b1d5e4
commit
9172e504fd
@ -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
|
||||
}
|
||||
|
||||
@ -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...) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user