mirror of
https://github.com/go-admin-team/go-admin.git
synced 2026-09-21 10:13:01 +00:00
refactor🎨 : 修改文件操作函数
This commit is contained in:
@@ -35,7 +35,7 @@ func UpdateAction(control dto.Control) gin.HandlerFunc {
|
||||
app.Error(c, http.StatusInternalServerError, err, "模型生成失败")
|
||||
return
|
||||
}
|
||||
object.SetUpdateBy(tools.GetUserIdUint(c))
|
||||
object.SetUpdateBy(tools.GetUserId(c))
|
||||
|
||||
//数据权限检查
|
||||
p := GetPermissionFromContext(c)
|
||||
|
||||
Reference in New Issue
Block a user