|
@@ -215,7 +215,7 @@ public class SceneListener {
|
|
|
|
|
|
JSONArray sweepLocations = new JSONArray();
|
|
|
if (ossUtil.doesObjectExist("4dkankan",visionOssKey)){
|
|
|
- log.info("vision.txt存在: {}");
|
|
|
+ log.info("vision.txt存在: {}",visionOssKey);
|
|
|
JSONObject visJson = JSONObject.parseObject(ossUtil.getFileContent("4dkankan",visionOssKey));
|
|
|
if(visJson.containsKey("sweepLocations")){
|
|
|
sweepLocations = visJson.getJSONArray("sweepLocations");
|
|
@@ -350,7 +350,7 @@ public class SceneListener {
|
|
|
Boolean exist=ossUtil.doesObjectExist("4dkankan",statusJson);
|
|
|
if (exist){
|
|
|
String fileContent = ossUtil.getFileContent("4dkankan", statusJson);
|
|
|
- log.info("statusJson存在: {}");
|
|
|
+ log.info("statusJson存在: {}",statusJson);
|
|
|
JSONObject statusJsonObj = JSONObject.parseObject(fileContent);
|
|
|
statusJsonObj.put("status",status);
|
|
|
ossUtil.uploadFileBytes("4dkankan",statusJson,statusJsonObj.toJSONString().getBytes(StandardCharsets.UTF_8));
|