[feat] add GetResRelationResource
This commit is contained in:
parent
e2ace7f2d3
commit
48f265514d
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user