lyhzzz 1 سال پیش
والد
کامیت
daeb415846
1فایلهای تغییر یافته به همراه0 افزوده شده و 1 حذف شده
  1. 0 1
      src/main/java/com/fdkankan/manage/service/impl/CommonServiceImpl.java

+ 0 - 1
src/main/java/com/fdkankan/manage/service/impl/CommonServiceImpl.java

@@ -57,7 +57,6 @@ public class CommonServiceImpl implements ICommonService {
             tempFile = File.createTempFile(uuid ,extName);
             file.transferTo(tempFile);
             fYunFileServiceInterface.uploadFile(tempFile.getPath(), ossPath);
-            tempFile.deleteOnExit();
             return this.ossUrlPrefix + ossPath;
         }catch (Exception e){
             throw new BusinessException(ResultCode.UPLOAD_FILE_ERROR);