🚀 修改角色

This commit is contained in:
bunny 2024-04-22 18:51:07 +08:00
parent f0fa48171c
commit 1f1b6da58a
1 changed files with 5 additions and 0 deletions

View File

@ -41,4 +41,9 @@ public class SysRoleController {
}
@ApiOperation(value = "修改角色")
@PutMapping("update")
public Result<SysRole> update(@RequestBody SysRole sysRole) {
sysRoleService.updateById(sysRole);
return Result.success();
}
}