db833a1e by xiaojie

【数据资产】

1、下载文件流
1 parent 79439541
...@@ -121,8 +121,8 @@ public class DataPortServiceImpl implements DataPortService { ...@@ -121,8 +121,8 @@ public class DataPortServiceImpl implements DataPortService {
121 throw new CsbrSystemException(SystemError.DATA_GET_ERROR, respJson.getString("message")); 121 throw new CsbrSystemException(SystemError.DATA_GET_ERROR, respJson.getString("message"));
122 } 122 }
123 } else { 123 } else {
124 MultipartFile multipartFile = new MockMultipartFile("测试.png", "测试,png", "application/octet-stream", resource.getByteArray()); 124 MultipartFile image = new MockMultipartFile("测试.png", "测试,png", "application/octet-stream", resource.getByteArray());
125 String url = (String) daopCommonFeign.uploadImage(multipartFile).getData(); 125 String url = (String) daopCommonFeign.uploadImage(image).getData();
126 log.info("======url======, {}", url); 126 log.info("======url======, {}", url);
127 System.out.println(url); 127 System.out.println(url);
128 } 128 }
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!