@@ -125,6 +125,7 @@ public class OnlineIdentifService { | |||
paramMap.put("serviceInstReqList", reqMapList); | |||
log.info(String.format("DSP入参:%s", paramMap)); | |||
log.info("发起DSP服务调用网络请求"); | |||
HttpEntity<Map<String, Object>> httpEntity = new HttpEntity<>(paramMap); | |||
ResponseEntity<JsonResult<DspCallbackVo>> response = restTemplate.exchange(url, HttpMethod.POST, httpEntity, new ParameterizedTypeReference<JsonResult<DspCallbackVo>>() { |
@@ -123,6 +123,7 @@ public class UpdateFlightStatusService { | |||
liveChannel.setPullUrl(dspCallbackVo.getPlayUrl()); | |||
liveChannel.setAipushUrl(dspCallbackVo.getAipushUrl()); | |||
liveChannel.setAipullUrl(dspCallbackVo.getAiplayUrl()); | |||
liveChannel.setPlayUrl(dspCallbackVo.getPlayUrl()); | |||
return liveChannel; | |||
} | |||
@@ -58,6 +58,11 @@ public class StartAIService { | |||
instReqUrlPull.put("evalue", missionStatusRequest.getPullUrl()); | |||
reqList.add(instReqUrlPull); | |||
JSONObject instPlayUrl = new JSONObject(); | |||
instPlayUrl.put("ename", "play_url"); | |||
instPlayUrl.put("evalue", missionStatusRequest.getPlayUrl()); | |||
reqList.add(instPlayUrl); | |||
request.put("serviceInstReqList", reqList); | |||
JSONObject responseJson = this.serviceInstApplication(request, dspServiceInstId); | |||
if (responseJson.getIntValue("code") == 0) { |