refactor🎨 : 修改文件操作函数

This commit is contained in:
zhangwenjian
2020-12-21 22:02:40 +08:00
parent 37a2c585e1
commit 746123c888
12 changed files with 128 additions and 169 deletions
+1 -1
View File
@@ -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)