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

@@ -11,7 +11,7 @@ public enum QueryVideoServiceEnum {
LIVE_CHANNEL_IS_NOT_EXIST(1230702, "直播通道为空"),
AIPULL_URL_IS_NOT_NULL(1230703, "直播地址为空"),
AIVIDEO_URL_IS_NOT_NULL(1230704, "回放地址为空"),
INSPECTION_IS_NOT_EXIST(1230705, "任务不存在"),
INSPECTION_IS_NOT_EXIST(1230705,"没有正在直播的任务"),
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

@@ -124,7 +124,7 @@ public class QueryAccidentDetailsService {
vo.setInspectionName(inspection.getName());
}
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

@@ -213,8 +213,7 @@ public class RoadInformationServiceImpl extends BaseServiceImpl<RoadInformationM
@Override
public JsonResult getListByTenantId() {
//获取当前租户下id
//String tenantId = CurrentUserUtil.getTenantId();
String tenantId = "1";
String tenantId = CurrentUserUtil.getTenantId();
if(StringUtils.isEmpty(tenantId)){
throw new ServiceException(ServiceExceptionEnum.PARAMETER_IS_NULL);
}

Loading…
Cancel
Save