Commit 29c53ed1 by zhiwj

查询添加参数

parent a0df3388
...@@ -75,7 +75,7 @@ public class IndexController { ...@@ -75,7 +75,7 @@ public class IndexController {
@RequestMapping("/get-by-index-id") @RequestMapping("/get-by-index-id")
public RestResponse getByIndexId(Integer indexId) { public RestResponse getByIndexId(Integer indexId) {
ServiceResponse<IndexDTO> serviceResponse = indexApiService.getByIndexId(indexId); ServiceResponse<IndexDTO> serviceResponse = indexApiService.getByIndexId(indexId);
return ResultControllerUtils.commonResult(serviceResponse, IndexVO.class); return ResultControllerUtils.commonResultOne(serviceResponse, IndexVO.class);
} }
@RequestMapping("/list-index") @RequestMapping("/list-index")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment