|
@@ -58,7 +58,8 @@ public class ProduceServiceImpl implements ProducerService {
|
|
|
String sceneCode = RandomUtil.getSceneCode("LC720_");
|
|
|
// 全景图固定命名
|
|
|
String basePath = configConstant.serverBasePath + File.separator + sceneCode;
|
|
|
- String savePath = basePath + File.separator + "pano.jpg";
|
|
|
+ // 切图后也会用场景码命名文件夹
|
|
|
+ String savePath = basePath + File.separator + sceneCode + ".jpg";
|
|
|
log.info("全景图保存路径: {}", savePath);
|
|
|
FileUtil.writeFromStream(file.getInputStream(), savePath);
|
|
|
|