|
@@ -213,7 +213,7 @@ public class SceneListener {
|
|
|
scenePanoService.updateById(scenePanoEntity);
|
|
|
}
|
|
|
|
|
|
- String visionUrl = "http://"+domain4dKK+"/oss/scene_view_data/"+param.getSceneCode()+"/images/vision.txt";
|
|
|
+ String visionUrl = domain4dKK+"/oss/scene_view_data/"+param.getSceneCode()+"/images/vision.txt";
|
|
|
HttpResponse execute = HttpRequest.get(visionUrl+"?m="+System.currentTimeMillis()).execute();
|
|
|
JSONArray sweepLocations = new JSONArray();
|
|
|
if (execute.getStatus()==200){
|
|
@@ -349,7 +349,7 @@ public class SceneListener {
|
|
|
private void updateOssStatusJson(String sceneCode, int status) throws IOException {
|
|
|
//修改OSS,status状态 scene_view_data/场景码/data/status.json
|
|
|
String statusJson = "scene_view_data/"+sceneCode+"/data/status.json";
|
|
|
- String statusJsonUrl = "http://"+domain4dKK+"/oss/"+statusJson;
|
|
|
+ String statusJsonUrl =domain4dKK+"/oss/"+statusJson;
|
|
|
HttpResponse execute = HttpRequest.get(statusJsonUrl+"?m="+System.currentTimeMillis()).execute();
|
|
|
if (execute.getStatus()==200){
|
|
|
log.info("statusJson存在: {}");
|