fix : role deletion problem (#208)

This commit is contained in:
zhangwenjian committed 2020-08-21 15:07:03 +08:00
1 parent 2c8c7688b4
commit b9d3483ba3
3 files changed
+56 -17

No files matched your search

+1
View File
@@ -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() {