Commit db6bb55b by 徐高华

log

parent 05406be3
...@@ -26,6 +26,7 @@ import org.springframework.web.bind.annotation.RequestMapping; ...@@ -26,6 +26,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
import com.alibaba.fastjson.JSON;
import com.gic.api.base.commons.BasePageInfo; import com.gic.api.base.commons.BasePageInfo;
import com.gic.api.base.commons.JSONResponse; import com.gic.api.base.commons.JSONResponse;
import com.gic.api.base.commons.Page; import com.gic.api.base.commons.Page;
...@@ -481,6 +482,7 @@ public class GroupChatHmController { ...@@ -481,6 +482,7 @@ public class GroupChatHmController {
CloudFileTypeEnum cloudFileTypeEnum = CloudFileTypeEnum.OTHER; CloudFileTypeEnum cloudFileTypeEnum = CloudFileTypeEnum.OTHER;
CloudFileInfo cloudFileInfo = CloudFileUtil.uploadFile(new FileInputStream(tempFile), "zip", CloudFileInfo cloudFileInfo = CloudFileUtil.uploadFile(new FileInputStream(tempFile), "zip",
cloudFileTypeEnum, factoryCode, CloudFileBusinessOptEnum.HAOBAN_COMMON); cloudFileTypeEnum, factoryCode, CloudFileBusinessOptEnum.HAOBAN_COMMON);
logger.info("下载={}", JSON.toJSONString(cloudFileInfo));
DownloadReportDTO downloadReportDTO = new DownloadReportDTO(); DownloadReportDTO downloadReportDTO = new DownloadReportDTO();
downloadReportDTO.setDownloadUrl(cloudFileInfo.getOrgFileUrl()); downloadReportDTO.setDownloadUrl(cloudFileInfo.getOrgFileUrl());
downloadReportService.updateDownloadReport(reportId, downloadReportDTO); downloadReportService.updateDownloadReport(reportId, downloadReportDTO);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment