|
@@ -437,6 +437,8 @@ public class RunBuild {
|
|
|
String buildResult = OkHttpUtils.httpPostJson(lightBuildUrl + "pro", jsonObject.toJSONString());
|
|
|
JSONObject buildJson = JSONObject.parseObject(buildResult);
|
|
|
|
|
|
+ log.info("请求3d场景渲染接口获取接口数据-{}", buildJson);
|
|
|
+
|
|
|
if("isBusy".equals(buildJson.getString("msg"))){
|
|
|
Thread.sleep(2000L);
|
|
|
continue;
|
|
@@ -466,6 +468,8 @@ public class RunBuild {
|
|
|
String checkResult = OkHttpUtils.httpPostJson(lightBuildUrl + "check", jsonObject.toJSONString());
|
|
|
JSONObject checkJson = JSONObject.parseObject(checkResult);
|
|
|
|
|
|
+ log.info("请求检查3d场景渲染接口获取接口数据-{}", checkJson);
|
|
|
+
|
|
|
JSONArray checkArray = checkJson.getJSONArray("msg");
|
|
|
|
|
|
if(checkArray.size() == 0){
|
|
@@ -606,7 +610,7 @@ public class RunBuild {
|
|
|
sceneLightEntity.setUpdateTime(new Date());
|
|
|
sceneLightService.update(sceneLightEntity);
|
|
|
|
|
|
- e.printStackTrace();
|
|
|
+ log.error("渲染失败-{}", e);
|
|
|
}
|
|
|
}
|
|
|
|