mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-16 08:48:17 +08:00
update 角色基础信息修改接口地址改回原样
This commit is contained in:
parent
5057e905f4
commit
ef9ae0f2e8
@ -112,8 +112,8 @@ public class SysRoleController extends BaseController {
|
|||||||
@SaCheckPermission("system:role:edit")
|
@SaCheckPermission("system:role:edit")
|
||||||
@Log(title = "角色管理", businessType = BusinessType.UPDATE)
|
@Log(title = "角色管理", businessType = BusinessType.UPDATE)
|
||||||
@RepeatSubmit()
|
@RepeatSubmit()
|
||||||
@PutMapping("/baseInfo")
|
@PutMapping
|
||||||
public R<Void> editBaseInfo(@Validated @RequestBody SysRoleBo role) {
|
public R<Void> edit(@Validated @RequestBody SysRoleBo role) {
|
||||||
roleService.checkRoleAllowed(role);
|
roleService.checkRoleAllowed(role);
|
||||||
roleService.checkRoleDataScope(role.getRoleId());
|
roleService.checkRoleDataScope(role.getRoleId());
|
||||||
if (!roleService.checkRoleNameUnique(role)) {
|
if (!roleService.checkRoleNameUnique(role)) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user