|
@@ -72,6 +72,12 @@ public class HaixinServiceImpl implements IHaixinService {
|
|
|
FileUtil.copyContent(new File(editMappingPath), new File(viewMappingPath), true);
|
|
|
|
|
|
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);
|
|
|
}
|
|
|
|