文件下载调整

rabbit_dev
wj 2 years ago
parent 5ffd87f283
commit 75c9544048

@ -1187,7 +1187,6 @@ 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