|
@@ -311,7 +311,7 @@ public class ScenePlusServiceImpl extends ServiceImpl<IScenePlusMapper, ScenePlu
|
|
|
@Override
|
|
|
public Object getPointInfo(String sceneCode) {
|
|
|
// 获取vision.txt 文件内容返回
|
|
|
- String content = fYunFileService.getFileContent(String.format(UploadFilePath.IMG_VIEW_PATH, sceneCode));
|
|
|
+ String content = fYunFileService.getFileContent(String.format(UploadFilePath.IMG_VIEW_PATH, sceneCode).concat("vision.txt"));
|
|
|
JSONObject jsonObject = JSONObject.parseObject(content);
|
|
|
return jsonObject.get("sweepLocations");
|
|
|
}
|
|
@@ -326,7 +326,7 @@ public class ScenePlusServiceImpl extends ServiceImpl<IScenePlusMapper, ScenePlu
|
|
|
@Override
|
|
|
public List<String> getScenePanoramicImageFiles(String sceneCode) {
|
|
|
// 根据vision.txt 获取全景图文件
|
|
|
- String content = fYunFileService.getFileContent(String.format(UploadFilePath.IMG_VIEW_PATH, sceneCode));
|
|
|
+ String content = fYunFileService.getFileContent(String.format(UploadFilePath.IMG_VIEW_PATH, sceneCode).concat("vision.txt"));
|
|
|
JSONObject jsonObject = JSONObject.parseObject(content);
|
|
|
return jsonObject.getJSONArray("sweepLocations").stream()
|
|
|
.map(json -> String.format(fYunFileConfig.getHost()
|