|
@@ -194,7 +194,7 @@ public class SceneListener {
|
|
|
workEntity.setCalcStatus(1);
|
|
|
workService.update(workEntity);
|
|
|
sendEndMq(param);
|
|
|
- updateOssStatusJson(param.getSceneCode(),0);
|
|
|
+ updateOssStatusJson(param.getSceneCode(),1);
|
|
|
channel.basicAck(deliveryTag, false);
|
|
|
}
|
|
|
|
|
@@ -218,7 +218,7 @@ public class SceneListener {
|
|
|
String statusJsonUrl = "http://4dkk.4dage.com/"+statusJson;
|
|
|
HttpResponse execute = HttpRequest.get(statusJsonUrl+"?m="+System.currentTimeMillis()).execute();
|
|
|
if (execute.getStatus()==200){
|
|
|
- log.info("vision.txt存在: {}");
|
|
|
+ log.info("statusJson存在: {}");
|
|
|
JSONObject statusJsonObj = JSONObject.parseObject(execute.body());
|
|
|
statusJsonObj.put("status",status);
|
|
|
fileAndOssUtil.upload(statusJsonObj.toJSONString().getBytes(StandardCharsets.UTF_8), statusJson);
|