refactor(system): 更新角色切换日志描述
- 修改了 @OperationLogAnnotation 注解的 content 属性,简化了日志描述 - 优化了代码可读性和日志记录的一致性
This commit is contained in:
parent
b6c66f7157
commit
0ecd639619
@ -63,7 +63,7 @@ public class UserController {
|
||||
/**
|
||||
* 切换角色
|
||||
*/
|
||||
@OperationLogAnnotation(content = "切换角色", operationType = "更新")
|
||||
@OperationLogAnnotation(operationType = "更新角色")
|
||||
@PatchMapping("/switch/{roleId}")
|
||||
public UserDetailsImpl switchRole(@PathVariable Long roleId) {
|
||||
return service.switchRole(roleId);
|
||||
|
Loading…
Reference in New Issue
Block a user