fix : role deletion problem (#208)
This commit is contained in:
1 parent
2c8c7688b4
commit
b9d3483ba3
3 files changed
+56
-17
No files matched your search
@@ -102,6 +102,7 @@ func (rm *RoleMenu) DeleteRoleMenu(roleId int) (bool, error) {
|
||||
|
||||
}
|
||||
|
||||
// 该方法即将弃用
|
||||
func (rm *RoleMenu) BatchDeleteRoleMenu(roleIds []int) (bool, error) {
|
||||
tx := orm.Eloquent.Begin()
|
||||
defer func() {
|
||||
|
||||
Reference in new issue
Block a user