[feat] add GetResRelationResource

This commit is contained in:
what 2023-04-21 23:50:26 +08:00
parent e2ace7f2d3
commit 48f265514d

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) Resource
type GetResRelationResource func(r ResRelation) contracts.Resource
// 资源关联依赖
func GetJoinResDependencies(root string, items []ResRelation) (dependencies []string) {