Commit 3ebd8864 authored by lining's avatar lining

Merge branch 'dev'

parents 7d97a9d0 3022e5a5
......@@ -37,9 +37,15 @@ public class ServiceCategoryController {
private ServiceCategoryService serviceCategoryService;
@ApiOperation(value = "查询服务子类(大类全部返回)")
@ApiOperation(value = "服务列表")
@GetMapping("list")
public Result<List<ServiceSubclassVO>> list(@RequestParam(required = false) String keyWord) {
public Result<List<ServiceCategoryVO>> list() {
return serviceCategoryService.list(null);
}
@ApiOperation(value = "根据key查询子类")
@GetMapping("find")
public Result<List<ServiceSubclassVO>> find(@RequestParam(required = false) String keyWord) {
return serviceCategoryService.selectByKeyWord(keyWord);
}
......
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