|
@@ -86,10 +86,6 @@ public class HaixinServiceImpl implements IHaixinService {
|
|
|
|
|
|
String viewPath = "/oss/4dkankan/" + String.format(UploadFilePath.VIEW_PATH, num);
|
|
|
|
|
|
- //删除user目录
|
|
|
- String userViewPath = "/oss/4dkankan/" + String.format(UploadFilePath.USER_VIEW_PATH, num);
|
|
|
-// FileUtil.del(userViewPath);
|
|
|
-
|
|
|
//打压缩包
|
|
|
this.zip(viewPath, zipPath);
|
|
|
|
|
@@ -116,6 +112,8 @@ public class HaixinServiceImpl implements IHaixinService {
|
|
|
}catch (Exception e){
|
|
|
log.warn("推送计算结果失败,taskId:{}", taskId, e);
|
|
|
this.sendResult(taskId, null);
|
|
|
+ }finally {
|
|
|
+ FileUtil.del(zipDir);
|
|
|
}
|
|
|
}
|
|
|
|