feign修改
This commit is contained in:
@ -26,6 +26,6 @@ public interface CategoryClient {
|
||||
BaseResponse<CoscoCategoryMaintenance> getInfo(@PathVariable String id);
|
||||
|
||||
@ApiOperation("查询树结构数据")
|
||||
@PostMapping("/getTreeList")
|
||||
@PostMapping("/v1/coscocategorymaintenance/getTreeList")
|
||||
BaseResponse<List<CoscoCategoryMaintenanceVO>> getTreeList(@RequestBody CoscoCategoryMaintenanceVO coscoCategoryMaintenanceVO);
|
||||
}
|
||||
|
@ -25,15 +25,15 @@ public interface DictRegionClient {
|
||||
|
||||
|
||||
@ApiOperation("查询所有数据")
|
||||
@GetMapping("/all")
|
||||
@GetMapping("/v1/dictRegion/all")
|
||||
BaseResponse<List<DictRegion>> listAll();
|
||||
|
||||
@ApiOperation("查询数据子节点")
|
||||
@GetMapping("/getChild")
|
||||
@GetMapping("/v1/dictRegion/getChild")
|
||||
BaseResponse<List<DictRegion>> getChild(@RequestParam(name = "pId") String pId);
|
||||
|
||||
@ApiOperation("递归查询所有下级数据树形结构")
|
||||
@GetMapping("/getAllChildrenTree/{id}")
|
||||
@GetMapping("/v1/dictRegion/getAllChildrenTree/{id}")
|
||||
BaseResponse<DictRegionTreeVO> getAllChildrenTree(@PathVariable String id);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user