|
@@ -108,7 +108,10 @@ public class FodderServiceImpl implements FodderService {
|
|
|
String panoPath = entity.getFilePath();
|
|
|
String sceneCode = entity.getSceneCode();
|
|
|
String cmd = CmdConstant.PANO_KRPANO + panoPath;
|
|
|
-
|
|
|
+ if (panoPath.endsWith(".jpg")){
|
|
|
+ String parent = FileUtil.getParent(panoPath, 1);
|
|
|
+ FileUtil.del(parent);
|
|
|
+ }
|
|
|
|
|
|
// 超时处理机制
|
|
|
final ExecutorService exec = Executors.newFixedThreadPool(1);
|