Commit 7d2beb9f authored by libin's avatar libin

综合搜索业务

parent 6a0b2312
...@@ -38,7 +38,7 @@ public class SearchController { ...@@ -38,7 +38,7 @@ public class SearchController {
private final BranchCompanyController branchCompanyController; private final BranchCompanyController branchCompanyController;
@GetMapping @GetMapping
public ObjectRestResponse search(@RequestParam(value = "type", required = false) String type, public ObjectRestResponse search(@RequestParam(value = "type", required = false,defaultValue = "") String type,
@RequestParam(value = "keyword", required = false) String keyWord, @RequestParam(value = "keyword", required = false) String keyWord,
@RequestParam(value = "page", required = false, defaultValue = "1") Integer page, @RequestParam(value = "page", required = false, defaultValue = "1") Integer page,
@RequestParam(value = "limit", required = false, defaultValue = "10") Integer limit) { @RequestParam(value = "limit", required = false, defaultValue = "10") Integer limit) {
......
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