From 467d2f5d5b8afdfb32d4a69a9966a5469e35dcfa Mon Sep 17 00:00:00 2001 From: what Date: Sat, 22 Apr 2023 18:05:16 +0800 Subject: [PATCH] =?UTF-8?q?[fix]=20=E4=BF=AE=E5=A4=8D=20resource.WithRoles?= =?UTF-8?q?Condition=20=E6=96=B9=E6=B3=95=E4=B8=AD=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- base/resource.go | 1 + 1 file changed, 1 insertion(+) diff --git a/base/resource.go b/base/resource.go index 1002421..d2d383d 100644 --- a/base/resource.go +++ b/base/resource.go @@ -210,6 +210,7 @@ func (this Resource) WithRolesCondition(b *db.Builder, t string, roles ...string NewOrmJoin := do.MustInvoke[helper.NewOrmJoin](this.container) GetResRelationResource := do.MustInvoke[GetResRelationResource](this.container) + GetResRelations := do.MustInvoke[GetResRelations](this.container) GetResource := do.MustInvoke[contracts.GetResource](this.container) GetOrmConditionByRes := do.MustInvoke[GetOrmConditionByRes](this.container)