diff --git a/src/main/java/com/glxp/api/idc/service/impl/IdcServiceImpl.java b/src/main/java/com/glxp/api/idc/service/impl/IdcServiceImpl.java index 829e03966..9d131e28a 100644 --- a/src/main/java/com/glxp/api/idc/service/impl/IdcServiceImpl.java +++ b/src/main/java/com/glxp/api/idc/service/impl/IdcServiceImpl.java @@ -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);