|
|
@@ -33,7 +33,7 @@ public class DicController extends MyValidController { |
|
|
|
private DictManager dictManager; |
|
|
|
@ApiOperation(value = "2-4.字典项目获取所有") |
|
|
|
@PostMapping(value = "/itemGetAll") |
|
|
|
public ApiResponse<Map<String, List<DictItemModel>>> itemGetAll(@RequestBody @Valid CommRequestDTO req) throws ManagerException { |
|
|
|
public ApiResponse<Map<String, List<DictItemModel>>> itemGetAll(@RequestBody CommRequestDTO req) throws ManagerException { |
|
|
|
Map<String, List<DictItemModel>> response = dictManager.getAllDictItem(req); |
|
|
|
return ApiResponse.of(response); |
|
|
|
} |