|
@@ -156,7 +156,7 @@ public class ContentServiceImpl implements ContentService {
|
|
|
if (Objects.isNull(cuPipeline) || !ContentTypeEnum.containsValue(cuPipeline.getContentType())) {
|
|
|
throw new CommonException(ExceptionEnum.PARAMS_INVALID, "pipelineId [" + pipelineId + "]配置异常");
|
|
|
}
|
|
|
- contentDTO.setContentType(cuPipeline.getContentType());
|
|
|
+// contentDTO.setContentType(cuPipeline.getContentType());
|
|
|
}
|
|
|
//执行任务
|
|
|
TaskResultVO taskResultVO = new TaskResultVO();
|
|
@@ -222,7 +222,7 @@ public class ContentServiceImpl implements ContentService {
|
|
|
List<ContentDTO> contentDTOList = new ArrayList<>();
|
|
|
ContentDTO contentDTO = new ContentDTO();
|
|
|
contentDTO.setVideoId(videoId);
|
|
|
- contentDTO.setContentType(ContentTypeEnum.VIDEO.getValue());
|
|
|
+// contentDTO.setContentType(ContentTypeEnum.VIDEO.getValue());
|
|
|
contentDTO.setContent(videoUrl);
|
|
|
contentDTO.setPipelineId(oldVersionPipelineId);
|
|
|
//上报日志
|
|
@@ -290,7 +290,7 @@ public class ContentServiceImpl implements ContentService {
|
|
|
List<ContentDTO> contentDTOList = new ArrayList<>();
|
|
|
ContentDTO contentDTO = new ContentDTO();
|
|
|
contentDTO.setVideoId(videoId);
|
|
|
- contentDTO.setContentType(ContentTypeEnum.VIDEO.getValue());
|
|
|
+// contentDTO.setContentType(ContentTypeEnum.VIDEO.getValue());
|
|
|
contentDTO.setContent(videoUrl);
|
|
|
contentDTO.setPipelineId(oldVersionPipelineId);
|
|
|
//上报日志
|
|
@@ -357,7 +357,7 @@ public class ContentServiceImpl implements ContentService {
|
|
|
List<ContentDTO> contentDTOList = new ArrayList<>();
|
|
|
ContentDTO contentDTO = new ContentDTO();
|
|
|
contentDTO.setVideoId(videoId);
|
|
|
- contentDTO.setContentType(ContentTypeEnum.VIDEO.getValue());
|
|
|
+// contentDTO.setContentType(ContentTypeEnum.VIDEO.getValue());
|
|
|
contentDTO.setContent(videoUrl);
|
|
|
contentDTO.setPipelineId(oldVersionPipelineId);
|
|
|
//上报日志
|
|
@@ -431,7 +431,7 @@ public class ContentServiceImpl implements ContentService {
|
|
|
if (Objects.isNull(videoUrl) && !isM3u8) {
|
|
|
WxVideo wxVideo = wxVideoMapper.selectByPrimaryKey(videoId);
|
|
|
if (Objects.isNull(wxVideo)) {
|
|
|
- XxlJobLogger.log("table = {} videoId = {} wxVideo is null", topReturnTable, videoId);
|
|
|
+ XxlJobLogger.log("videoId = {} wxVideo is null", videoId);
|
|
|
return null;
|
|
|
}
|
|
|
String transedVideoPath = wxVideo.getTransedVideoPath();
|
|
@@ -488,7 +488,7 @@ public class ContentServiceImpl implements ContentService {
|
|
|
if (Objects.isNull(videoUrl)) {
|
|
|
WxVideo wxVideo = wxVideoMapper.selectByPrimaryKey(videoId);
|
|
|
if (Objects.isNull(wxVideo)) {
|
|
|
- XxlJobLogger.log("table = {} videoId = {} wxVideo is null", topReturnTable, videoId);
|
|
|
+ XxlJobLogger.log("videoId = {} wxVideo is null", videoId);
|
|
|
return null;
|
|
|
}
|
|
|
String videoPath = wxVideo.getVideoPath();
|
|
@@ -555,7 +555,7 @@ public class ContentServiceImpl implements ContentService {
|
|
|
List<ContentDTO> contentDTOList = new ArrayList<>();
|
|
|
ContentDTO contentDTO = new ContentDTO();
|
|
|
contentDTO.setVideoId(videoId);
|
|
|
- contentDTO.setContentType(ContentTypeEnum.VIDEO.getValue());
|
|
|
+// contentDTO.setContentType(ContentTypeEnum.VIDEO.getValue());
|
|
|
contentDTO.setContent(videoUrl);
|
|
|
contentDTO.setPipelineId(oldVersionPipelineId);
|
|
|
contentDTOList.add(contentDTO);
|