浏览代码

Merge branch 'develop' of gitadmin/tuoheng_air_monitor into release

tags/V1.0.1
chengwang 1年前
父节点
当前提交
959b665403
共有 3 个文件被更改,包括 7 次插入0 次删除
  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 查看文件

@@ -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 查看文件

@@ -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 查看文件

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

正在加载...
取消
保存