This commit is contained in:
zhangwenjian
2020-09-29 08:41:20 +08:00
parent 677cdb7821
commit bc648c3f2f
60 changed files with 2319 additions and 550 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ func IndexAction(m models.ActiveRecord, d dto.Index, f func() interface{}) gin.H
}
//数据权限检查
p := getPermissionFromContext(c)
p := GetPermissionFromContext(c)
err = db.WithContext(c).Model(object).
Scopes(