From f6f1288fc52e97158b3b8e2c52d61838936531c3 Mon Sep 17 00:00:00 2001 From: dengbiao Date: Mon, 28 Oct 2024 15:14:33 +0800 Subject: [PATCH] 2 --- src/super/dao/user_open_permission_dao.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/super/dao/user_open_permission_dao.go b/src/super/dao/user_open_permission_dao.go index fdbd256..ec9c5ef 100644 --- a/src/super/dao/user_open_permission_dao.go +++ b/src/super/dao/user_open_permission_dao.go @@ -10,3 +10,7 @@ type GetUserOpenPermissionResp struct { model.UserOpenPermission `xorm:"extends"` model.Permission `xorm:"extends"` } + +func (GetUserOpenPermissionResp) TableName() string { + return "user_open_permission" +}