ソースを参照

Merge branch 'mzq-sjjq-220929' into 'develop'

feature: 数据资源展示表和列

See merge request xj-aks/dcuc/auth-back!1
马志强 2 年 前
コミット
360345b277

+ 1 - 1
src/main/java/com/dragoninfo/dcuc/authweb/restcontroller/auth/DataAuthController.java

@@ -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);