mirror of
https://github.com/continew-org/continew-admin.git
synced 2025-09-08 12:57:13 +08:00
revert: 回退全局响应结果处理器(遗漏项)
This commit is contained in:
@@ -109,9 +109,9 @@ public class CommonController {
|
||||
|
||||
@Operation(summary = "查询角色字典", description = "查询角色字典列表")
|
||||
@GetMapping("/dict/role")
|
||||
public List<LabelValueResp<Long>> listRoleDict(RoleQuery query, SortQuery sortQuery) {
|
||||
public R<List<LabelValueResp<Long>>> listRoleDict(RoleQuery query, SortQuery sortQuery) {
|
||||
List<RoleResp> list = roleService.list(query, sortQuery);
|
||||
return roleService.buildDict(list);
|
||||
return R.ok(roleService.buildDict(list));
|
||||
}
|
||||
|
||||
@Operation(summary = "查询字典", description = "查询字典列表")
|
||||
|
Reference in New Issue
Block a user