|
@@ -239,7 +239,11 @@ public class BuildScenePreServiceImpl implements IBuildScenePreService {
|
|
|
log.info("caches/images_path:{}", path + "/caches/images");
|
|
|
if(CollUtil.isNotEmpty(imagesList)){
|
|
|
log.info("上传的caches/images文件列表:{}", imagesList.toString());
|
|
|
- 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");
|