更新指定更新XXX账号指令 开放ptkey过期提醒
This commit is contained in:
parent
7950f58d55
commit
1a1d187c1d
@ -10,6 +10,6 @@ type UserAdmin struct {
|
||||
func IsUserAdmin(id string) bool {
|
||||
user := UserAdmin{}
|
||||
logs.Info(id)
|
||||
db.Model(UserAdmin{}).Where(Content+" = ?", id).First(user)
|
||||
db.Model(user).Where(Content+" = ?", id).First(user)
|
||||
return false
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user