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:
@@ -32,7 +32,7 @@ public class RoleController {
|
||||
|
||||
|
||||
/**
|
||||
* 获取用户角色
|
||||
* 获取用户角色选项
|
||||
*/
|
||||
@PreAuthorize("hasAuthority('admin')")
|
||||
@GetMapping
|
||||
|
||||
Reference in New Issue
Block a user