mirror of
https://github.com/continew-org/continew-admin.git
synced 2025-09-09 20:57:21 +08:00
refactor: 重构查询角色字典接口
This commit is contained in:
@@ -97,6 +97,8 @@ public class CommonController {
|
||||
@GetMapping("/dict/role")
|
||||
public R<List<LabelValueResp<Long>>> listRoleDict(RoleQuery query, SortQuery sortQuery) {
|
||||
return R.ok(roleService.buildDict(roleService.list(query, sortQuery)));
|
||||
public R<List<LabelValueResp>> listRoleDict(RoleQuery query, SortQuery sortQuery) {
|
||||
return R.ok(roleService.listDict(query, sortQuery));
|
||||
}
|
||||
|
||||
@Operation(summary = "查询字典", description = "查询字典列表")
|
||||
|
Reference in New Issue
Block a user