[fix] 修复数据权限使用云函数错误bug

This commit is contained in:
2023-05-04 14:02:19 +08:00
parent a1104e57d8
commit 8826cec03a
2 changed files with 10 additions and 5 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ type Resource interface {
GetStruct(extends ...reflect.StructField) any
GetSliceStruct(extends ...reflect.StructField) any
WithRolesCondition(b *db.Builder, t string, roles ...string) error
WithRolesCondition(b *db.Builder, t string, u User) error
// 是否虚拟资源
IsVirtual() bool