代码生成模板适配gf 1.14.4

This commit is contained in:
yxh
2020-11-20 10:15:24 +08:00
parent d15c2537fc
commit cdbf16fbcd
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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