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为空"); | ||||
/** | /** |
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()); | |||||
} | } | ||||
} | } | ||||
} | } |
@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); | ||||
} | } |