|
@@ -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);
|