|
@@ -294,7 +294,11 @@ public class SceneUpgradeToV4Service implements ISceneUpgradeToV4Service {
|
|
|
String sceneNumPAth = String.format("scene/%s", num);
|
|
|
List<String> imagesList = FileUtil.getFileList(path + "/caches/images");
|
|
|
if(CollUtil.isNotEmpty(imagesList)){
|
|
|
- imagesList.stream().forEach(str -> map.put(str, str.replace(path, sceneNumPAth)));
|
|
|
+ imagesList.stream().forEach(str -> {
|
|
|
+ if(str.endsWith(".jpg")){
|
|
|
+ map.put(str, str.replace(path, sceneNumPAth));
|
|
|
+ }
|
|
|
+ });
|
|
|
}
|
|
|
// List<String> videosList = FileUtil.getFileList(path + "/caches/videos");
|
|
|
// if(CollUtil.isNotEmpty(videosList)){
|