|
@@ -66,7 +66,7 @@ public class DataAuthController {
|
|
|
@ApiOperation(value = "获取所有数据资源,返回树结构")
|
|
|
@ApiImplicitParam(name = "attrType",value = "数据属性类型 TABLE:表 COLUMN:列")
|
|
|
@GetMapping(value = "allDataTree", produces = "application/json;charset=UTF-8")
|
|
|
- public Result<List<DataResourceClassifyVo>> getAllDataResource(@RequestParam("attrType") String attrType){
|
|
|
+ public Result<List<DataResourceClassifyVo>> getAllDataResource(@RequestParam(value = "attrType", required = false) String attrType){
|
|
|
log.info("allDataTree >> attrType:{}", attrType);
|
|
|
List<DataResourceClassifyVo> dataResourceTree = dataResourceFacade.getAllDataResourceTree(attrType);
|
|
|
return Result.success(dataResourceTree);
|