mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-13 15:43:43 +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")
|
||||
@Log(title = "角色管理", businessType = BusinessType.UPDATE)
|
||||
@RepeatSubmit()
|
||||
@PutMapping("/baseInfo")
|
||||
public R<Void> editBaseInfo(@Validated @RequestBody SysRoleBo role) {
|
||||
@PutMapping
|
||||
public R<Void> edit(@Validated @RequestBody SysRoleBo role) {
|
||||
roleService.checkRoleAllowed(role);
|
||||
roleService.checkRoleDataScope(role.getRoleId());
|
||||
if (!roleService.checkRoleNameUnique(role)) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user