管道基础大数据平台系统开发-【后端】-Server
12
13693261870
2023-07-31 c8e5656bd1d02f66b9e6e159da56804f7c7da112
src/main/java/com/lf/server/controller/show/DataLibController.java
@@ -55,12 +55,6 @@
    DataLibService dataLibService;
    @Autowired
    DownlogService downlogService;
    @Autowired
    DownloadService downloadService;
    @Autowired
    BaseQueryService baseQueryService;
    @Autowired
@@ -161,7 +155,7 @@
    @SysLog()
    @ApiOperation(value = "请求元数据下载")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "reqEntity", value = "请求下载实体", dataType = "DownloadReqEntity", paramType = "body")
            @ApiImplicitParam(name = "dr", value = "请求下载实体", dataType = "DownloadReqEntity", paramType = "body")
    })
    @ResponseBody
    @PostMapping(value = "/downloadReq")
@@ -171,7 +165,7 @@
                return fail("密码不能为空");
            }
            if (null == dr.getIds() || dr.getIds().isEmpty()) {
                return fail("请选择要下载的文件");
                return fail("请选择要下载的文件ID");
            }
            if (!DownloadService.decryptPwd(dr)) {
                return fail("密码解密失败", null);