Browse Source

修改回放视频url

tags/v1.2.0^2
chengwang 1 year ago
parent
commit
52a8927d99
3 changed files with 3 additions and 4 deletions
  1. +1
    -1
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/enums/code/inspection/QueryVideoServiceEnum.java
  2. +1
    -1
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/accident/query/QueryAccidentDetailsService.java
  3. +1
    -2
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/road/RoadInformationServiceImpl.java

+ 1
- 1
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/enums/code/inspection/QueryVideoServiceEnum.java View File

LIVE_CHANNEL_IS_NOT_EXIST(1230702, "直播通道为空"), LIVE_CHANNEL_IS_NOT_EXIST(1230702, "直播通道为空"),
AIPULL_URL_IS_NOT_NULL(1230703, "直播地址为空"), AIPULL_URL_IS_NOT_NULL(1230703, "直播地址为空"),
AIVIDEO_URL_IS_NOT_NULL(1230704, "回放地址为空"), AIVIDEO_URL_IS_NOT_NULL(1230704, "回放地址为空"),
INSPECTION_IS_NOT_EXIST(1230705, "任务不存在"),
INSPECTION_IS_NOT_EXIST(1230705,"没有正在直播的任务"),
AIRPORT_ID_IS_NULL(1230706, "机场id为空"); AIRPORT_ID_IS_NULL(1230706, "机场id为空");


/** /**

+ 1
- 1
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/accident/query/QueryAccidentDetailsService.java View File

vo.setInspectionName(inspection.getName()); vo.setInspectionName(inspection.getName());
} }
if(inspection.getAiVideoUrl() !=null){ if(inspection.getAiVideoUrl() !=null){
vo.setAiVideoUrl(inspection.getAiVideoUrl());
vo.setAiVideoUrl(CommonConfig.videoURL + inspection.getAiVideoUrl());
} }
} }
} }

+ 1
- 2
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/road/RoadInformationServiceImpl.java View File

@Override @Override
public JsonResult getListByTenantId() { public JsonResult getListByTenantId() {
//获取当前租户下id //获取当前租户下id
//String tenantId = CurrentUserUtil.getTenantId();
String tenantId = "1";
String tenantId = CurrentUserUtil.getTenantId();
if(StringUtils.isEmpty(tenantId)){ if(StringUtils.isEmpty(tenantId)){
throw new ServiceException(ServiceExceptionEnum.PARAMETER_IS_NULL); throw new ServiceException(ServiceExceptionEnum.PARAMETER_IS_NULL);
} }

Loading…
Cancel
Save