mirror of
https://github.com/tiger1103/gfast.git
synced 2026-09-21 10:12:59 +00:00
代码生成模板适配gf 1.14.4
This commit is contained in:
@@ -41,7 +41,7 @@ func ForceLogout(ids []int) error {
|
||||
if entity == nil {
|
||||
continue
|
||||
}
|
||||
user_online.Delete("id", entity.Id)
|
||||
user_online.Model.Where("id", entity.Id).Delete()
|
||||
_, userKey := GetUuidUserKeyByToken(entity.Token)
|
||||
if userKey == "" {
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user