Selaa lähdekoodia

Merge branch 'develop' of gitadmin/tuoheng_air_monitor into release

tags/V1.0.1
chengwang 1 vuosi sitten
vanhempi
commit
959b665403
3 muutettua tiedostoa jossa 7 lisäystä ja 0 poistoa
  1. +1
    -0
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/inspection/update/flyer/OnlineIdentifService.java
  2. +1
    -0
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/inspection/update/status/UpdateFlightStatusService.java
  3. +5
    -0
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/third/dsp/StartAIService.java

+ 1
- 0
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/inspection/update/flyer/OnlineIdentifService.java Näytä tiedosto

@@ -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>>() {

+ 1
- 0
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/inspection/update/status/UpdateFlightStatusService.java Näytä tiedosto

@@ -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;
}


+ 5
- 0
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/third/dsp/StartAIService.java Näytä tiedosto

@@ -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) {

Loading…
Peruuta
Tallenna