diff --git a/base/res_relation.go b/base/res_relation.go index dfa31f5..e01ad85 100644 --- a/base/res_relation.go +++ b/base/res_relation.go @@ -23,7 +23,7 @@ type GetResRelations func(categoryUuid string) []ResRelation type GetOrmJoinsByResRelations func(root string, items []ResRelation) []contracts.Join // 获取被关联对象的资源 -type GetResRelationResource func(r ResRelation) Resource +type GetResRelationResource func(r ResRelation) contracts.Resource // 资源关联依赖 func GetJoinResDependencies(root string, items []ResRelation) (dependencies []string) {