From 5453a34d8f23550dda593bf6d20e44372bda0cc6 Mon Sep 17 00:00:00 2001 From: cheney <1251790704@qq.com> Date: Thu, 12 Jan 2023 16:37:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0=E8=A7=92=E8=89=B2=E5=BC=82=E5=B8=B8?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/huoran/iasf/common/exception/code/BaseResponseCode.java | 1 + .../com/huoran/iasf/service/impl/PermissionServiceImpl.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/huoran/iasf/common/exception/code/BaseResponseCode.java b/src/main/java/com/huoran/iasf/common/exception/code/BaseResponseCode.java index 49a6691..ed67b03 100644 --- a/src/main/java/com/huoran/iasf/common/exception/code/BaseResponseCode.java +++ b/src/main/java/com/huoran/iasf/common/exception/code/BaseResponseCode.java @@ -50,6 +50,7 @@ public enum BaseResponseCode implements ResponseCodeInterface { OPERATION_MENU_PERMISSION_BTN_ERROR(401013, "操作后的菜单类型是按钮,所属菜单必须为菜单类型"), OPERATION_MENU_PERMISSION_URL_NOT_NULL(401015, "菜单权限的url不能为空"), OPERATION_MENU_PERMISSION_URL_PERMS_NULL(401016, "菜单权限的标识符不能为空"), + ROLE_ERROR(401017, "账号角色被删,请联系管理员添加角色后再试"), EXCEL_FILE_NULL(40006, "导入失败,导入数据为空!") ; diff --git a/src/main/java/com/huoran/iasf/service/impl/PermissionServiceImpl.java b/src/main/java/com/huoran/iasf/service/impl/PermissionServiceImpl.java index 9535e4b..468fcfb 100644 --- a/src/main/java/com/huoran/iasf/service/impl/PermissionServiceImpl.java +++ b/src/main/java/com/huoran/iasf/service/impl/PermissionServiceImpl.java @@ -113,7 +113,7 @@ public class PermissionServiceImpl extends ServiceImpl list = sysPermissionMapper.selectRoleMenu(roleIds); return build(list);