提交 70b00aee authored 作者: liupengfei's avatar liupengfei

--no commit message

上级 d087cd6d
...@@ -186,7 +186,7 @@ public class DiyTypeController { ...@@ -186,7 +186,7 @@ public class DiyTypeController {
} }
@ApiOperation(value = "根据数据类型(一级分类名)查询自定义分类tree", notes = "查询列表") @ApiOperation(value = "根据数据类型(一级分类名)查询自定义分类tree", notes = "查询列表")
@GetMapping(value = "/{name}/tree") @GetMapping(value = "/name/tree")
public CallBack<List<DiyTypeVO>> tree(String name) { public CallBack<List<DiyTypeVO>> tree(String name) {
if(StringUtils.isBlank(name)){ if(StringUtils.isBlank(name)){
throw new BaseException("参数不能为空!"); throw new BaseException("参数不能为空!");
...@@ -202,7 +202,7 @@ public class DiyTypeController { ...@@ -202,7 +202,7 @@ public class DiyTypeController {
} }
@ApiOperation(value = "根据数据类型(一级分类名)查询自定义分类list", notes = "查询列表") @ApiOperation(value = "根据数据类型(一级分类名)查询自定义分类list", notes = "查询列表")
@GetMapping(value = "/{name}/list") @GetMapping(value = "/name/list")
public CallBack<List<DiyType>> list(String name) { public CallBack<List<DiyType>> list(String name) {
List<DiyType> vos = new ArrayList<DiyType>(); List<DiyType> vos = new ArrayList<DiyType>();
if(StringUtils.isBlank(name)){ if(StringUtils.isBlank(name)){
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论