supeng 1 周之前
父節點
當前提交
3c1f0e5dec

+ 1 - 1
supply-demand-engine-core/src/main/java/com/tzld/piaoquan/sde/integration/ContentDeconstructionClient.java

@@ -76,7 +76,7 @@ public class ContentDeconstructionClient {
             }
             String videoPath = wxVideoV2VO.getVideoPath();
             if (Objects.isNull(videoPath) || videoPath.endsWith(".m3u8")) {
-                throw new BizException(ExceptionEnum.DATA_ERROR, "视频格式不支持解构 videoId:" + videoId);
+                throw new BizException(ExceptionEnum.DATA_ERROR, "视频格式不支持解构 videoId:" + videoId + ",videoPath:" + videoPath);
             }
             content.setTitle(wxVideoV2VO.getTitle());
             content.setVideo_url(videoPath);

+ 1 - 2
supply-demand-engine-core/src/main/java/com/tzld/piaoquan/sde/service/impl/ExecutionTaskServiceImpl.java

@@ -201,8 +201,7 @@ public class ExecutionTaskServiceImpl implements ExecutionTaskService {
         // 6 小时前
         Date hourAgo = Date.from(
                 LocalDateTime.now()
-//                        .minusHours(6)
-                        .minusDays(6)
+                        .minusHours(6)
                         .atZone(ZoneId.systemDefault())
                         .toInstant());
         List<Integer> taskStatusList = Arrays.asList(ExecutionTaskStatusEnum.SUBMITTED.getValue(),ExecutionTaskStatusEnum.RUNNING.getValue());