管道基础大数据平台系统开发-【后端】-Server
1
13693261870
2023-02-26 4464987abeec8b11b68ab9a03e0f36e5cc59390f
src/main/java/com/lf/server/controller/data/upload/UploadController.java
@@ -46,6 +46,7 @@
            return success(pathName);
        } catch (Exception ex) {
            log.error(ex.getMessage(), ex);
            return fail(ex.getMessage(), null);
        }
    }
@@ -59,7 +60,7 @@
    @PostMapping(value = "/uploadFiles")
    public ResponseMsg<Object> uploadFiles(String path, HttpServletRequest req, HttpServletResponse res) {
        try {
            List<MetaFileEntity> list = uploadService.uploadData(null, path, req, res);
            List<MetaFileEntity> list = uploadService.uploadData(null, path, false, req, res);
            if (null == list || list.isEmpty()) {
                return fail("没有找到上传文件", null);
            }
@@ -101,7 +102,7 @@
                return fail("找不到要上传附件的源数据");
            }
            List<MetaFileEntity> list = uploadService.uploadData(null, path, req, res);
            List<MetaFileEntity> list = uploadService.uploadData(null, path, false, req, res);
            if (null == list || list.isEmpty()) {
                return fail("没有找到上传文件", null);
            }