增加角色权限不足捕获
This commit is contained in:
@@ -15,7 +15,8 @@ public enum CzgRespCode {
|
||||
RECORD_EXISTED(602, "记录已存在"),
|
||||
PARAM_ERROR(603, "参数错误"),
|
||||
UNAUTHORIZED(401, "未授权"),
|
||||
UN_PERMISSION(402, "无此接口权限"),;
|
||||
UN_PERMISSION(402, "无此接口权限"),
|
||||
UN_ROLE(403, "角色权限不足");
|
||||
|
||||
private final int code;
|
||||
private final String msg;
|
||||
|
||||
Reference in New Issue
Block a user