瀏覽代碼

新增直播接口返回体字段airportId

tags/V1.0.0^2
douzhenjun 1 年之前
父節點
當前提交
0ed8556ac6
共有 2 個檔案被更改,包括 6 行新增0 行删除
  1. +1
    -0
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/impl/InspectionServiceImpl.java
  2. +5
    -0
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/vo/LiveChannelVo.java

+ 1
- 0
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/impl/InspectionServiceImpl.java 查看文件

@@ -119,6 +119,7 @@ public class InspectionServiceImpl extends ServiceImpl<InspectionMapper, Inspect

}
LiveChannelVo liveChannelVo = new LiveChannelVo();
liveChannelVo.setAirportId(inspection.getAirportId());
if (10 == inspection.getStatus()) {
//任务状态为任务飞行中10视频直播
LiveChannel liveChannel = liveChannelMapper.selectOne(new LambdaQueryWrapper<LiveChannel>()

+ 5
- 0
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/vo/LiveChannelVo.java 查看文件

@@ -18,4 +18,9 @@ public class LiveChannelVo {
* AI识别后视频地址
*/
private String aiVideoUrl;
/**
* 机场id
*/
private Integer airportId;
}

Loading…
取消
儲存