|
@@ -172,7 +172,7 @@ public class SysRoleController extends BaseController {
|
|
|
if (!ObjectUtils.isEmpty(role.getStatus())) {
|
|
|
role.setStatus("1");
|
|
|
}
|
|
|
- return success("超级管理员角色不能修改");
|
|
|
+ return error("超级管理员角色不能修改");
|
|
|
} else {
|
|
|
if (UserConstants.NOT_UNIQUE.equals(roleService.checkRoleKeyUnique(role))) {
|
|
|
return error("修改角色'" + role.getRoleName() + "'失败,角色权限已存在");
|