Skip to content

Commit

Permalink
Update UserController.java
Browse files Browse the repository at this point in the history
  • Loading branch information
aitangbao authored Jun 6, 2024
1 parent ae6f222 commit 500ac8d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ public DataResult getUserOwnRole(@PathVariable("userId") String userId) {
@PutMapping("/user/roles/{userId}")
@ApiOperation(value = "赋予角色-用户赋予角色接口")
@LogAnnotation(title = "用户管理", action = "赋予角色-用户赋予角色接口")
@SaCheckPermission("sys:user:update:role")
@SaCheckPermission("sys:user:role:update")
public DataResult setUserOwnRole(@PathVariable("userId") String userId, @RequestBody List<String> roleIds) {

LambdaQueryWrapper<SysUserRole> queryWrapper = Wrappers.lambdaQuery();
Expand Down

0 comments on commit 500ac8d

Please sign in to comment.