[feat] 修改 GetResRelationResource 返回值

This commit is contained in:
2023-04-22 00:14:35 +08:00
parent 48f265514d
commit 64c1088c25
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ type GetResRelations func(categoryUuid string) []ResRelation
type GetOrmJoinsByResRelations func(root string, items []ResRelation) []contracts.Join
// 获取被关联对象的资源
type GetResRelationResource func(r ResRelation) contracts.Resource
type GetResRelationResource func(r ResRelation) (contracts.Resource, bool)
// 资源关联依赖
func GetJoinResDependencies(root string, items []ResRelation) (dependencies []string) {