docs(role): update user role retrieval comment

- Changed comment from "获取用户角色" to "获取用户角色选项"
- Updated documentation to reflect role options retrieval
- Maintained admin authority requirement for endpoint access
This commit is contained in:
Chaos
2025-11-28 17:02:31 +08:00
parent 647d5733ac
commit f4070d1b99

View File

@@ -32,7 +32,7 @@ public class RoleController {
/** /**
* 获取用户角色 * 获取用户角色选项
*/ */
@PreAuthorize("hasAuthority('admin')") @PreAuthorize("hasAuthority('admin')")
@GetMapping @GetMapping