mirror of
https://github.com/weizhiqiang1995/erp-pro.git
synced 2025-02-27 17:03:42 +08:00
feat: 解决PC端:新增“权限点”输入一个权限点名称不存在但是url名称已存在的无法新增成功,且弹出的提示语和输入一个已存在的权限点名称时弹出的提示语一样,https://gitee.com/dromara/skyeye/issues/IB4UDD
This commit is contained in:
parent
386cc4810e
commit
17e9f630e3
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ public class AuthPointServiceImpl extends SkyeyeBusinessServiceImpl<AuthPointDao
|
|||
AuthPoint checkSysMenuAuthPoint = getOne(queryWrapper);
|
||||
|
||||
if (!ObjectUtils.isEmpty(checkSysMenuAuthPoint)) {
|
||||
throw new CustomException("该菜单下已存在该名称的权限点,请进行更改。");
|
||||
throw new CustomException("该菜单下已存在相同的名称/接口URL,请进行更改。");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue