|
|
@@ -273,7 +273,7 @@ func System_DelUser(c *entitys.CtrlContext) {
|
|
|
return
|
|
|
}
|
|
|
session.Commit()
|
|
|
- _, err = c.PlatformDbEngine.In("id", ids).Update(map[string]interface{}{"del_flag": 1})
|
|
|
+ _, err = c.PlatformDbEngine.Table(new(models.SysUser)).In("id", ids).Update(map[string]interface{}{"del_flag": 1})
|
|
|
|
|
|
if err == nil {
|
|
|
c.Ctx.JSON(200, sysmodel.SysReturn{200, "", nil})
|