文件下载调整

pro
wj 2 years ago
parent 95826f44e1
commit 8828718651

@ -1186,7 +1186,7 @@ public class IdcServiceImpl implements IdcService {
if (result!=null&&result.isSuccessful()&&MediaType.parse("application/force-download").equals(result.body().contentType())) {
try (InputStream inputStream = result.body().byteStream()) {
fileName = fileName.substring(fileName.lastIndexOf('/') + 1);
FileOutputStream outputStream = new FileOutputStream(filePath + filePathSlash + imagePath+fileName);

Loading…
Cancel
Save