From 99df51e2590c5a332b978727e32371ccf2c5a4c8 Mon Sep 17 00:00:00 2001 From: what Date: Sat, 22 Apr 2023 02:41:52 +0800 Subject: [PATCH] =?UTF-8?q?[feat]=20=E4=B8=B4=E6=97=B6=E5=A4=84=E7=90=86?= =?UTF-8?q?=20GetRolesCondition?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resource.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resource.go b/resource.go index ca52986..7ad7bd1 100644 --- a/resource.go +++ b/resource.go @@ -55,7 +55,7 @@ type Resource interface { GetSliceStruct(extends ...reflect.StructField) any WithRolesCondition(b *db.Builder, roles ...string) - GetRolesCondition(u User) + // GetRolesCondition(u User) // 是否虚拟资源 IsVirtual() bool