自定义表单拦截器开发1.1完成

优化动态表单页面接口
yun-zuoyi
wei.peng 6 years ago
parent 50f69d91e0
commit 97720e02a2

@ -311,9 +311,9 @@ public class SysDictionaryController extends CoreBaseController{
}
}
@GetMapping("/find-soft-type")
@GetMapping("/find-soft-type/{id}")
@ApiOperation(value = "根据模块查询顶级字典",notes = "根据模块查询顶级字典")
public ResultBean findSysDictionaryByTopBySoftType(Integer softType){
public ResultBean findSysDictionaryByTopBySoftType(@PathVariable("id")Integer softType){
try {
List<SysDictionary> dictionaryList = sysDictionaryService.findSysDictionaryByTopBySoftType(softType);
return ResultBean.success("操作成功").setCode(ResourceEnumUtil.MESSAGE.SUCCESS.getCode()).setResultList(dictionaryList);

Loading…
Cancel
Save