[feat] 临时处理 GetRolesCondition
This commit is contained in:
parent
385ab967b5
commit
99df51e259
@ -55,7 +55,7 @@ type Resource interface {
|
|||||||
GetSliceStruct(extends ...reflect.StructField) any
|
GetSliceStruct(extends ...reflect.StructField) any
|
||||||
|
|
||||||
WithRolesCondition(b *db.Builder, roles ...string)
|
WithRolesCondition(b *db.Builder, roles ...string)
|
||||||
GetRolesCondition(u User)
|
// GetRolesCondition(u User)
|
||||||
|
|
||||||
// 是否虚拟资源
|
// 是否虚拟资源
|
||||||
IsVirtual() bool
|
IsVirtual() bool
|
||||||
|
Loading…
Reference in New Issue
Block a user