|
@@ -100,7 +100,7 @@ public class InnerApiServiceImpl implements IInnerApiService {
|
|
|
Thread.sleep(2000L);
|
|
|
|
|
|
//删除压缩包
|
|
|
-// new File(dataSource + file.getOriginalFilename()).delete();
|
|
|
+ new File(dataSource + file.getOriginalFilename()).delete();
|
|
|
|
|
|
// String dataPath = dataSource + FileUtil.getPrefix(file.getOriginalFilename()) + File.separator;
|
|
|
List<String> fileList = new ArrayList<>();
|
|
@@ -111,7 +111,6 @@ public class InnerApiServiceImpl implements IInnerApiService {
|
|
|
if(ossPath.endsWith("/")){
|
|
|
ossPath = ossPath.substring(0, ossPath.lastIndexOf("/"));
|
|
|
}
|
|
|
- log.info("local:{}, ossPath:{}", filePath, ossPath);
|
|
|
fYunFileService.uploadFile(filePath, ossPath);
|
|
|
}
|
|
|
|