shikeying
2022-10-11 2b1f542577dd8dfc54d3433dff3615796ceab0af
recommend-video/src/main/java/com/iplatform/recvideo/support/DefaultSimilarExecutor.java
@@ -52,7 +52,9 @@
    @Override
    protected String requestStartPythonLoadVideo(String batchId) throws Exception {
        logger.info("开始请求python服务:" + Constants.AI_SERVICE_VIDEO_LOAD);
        return null;
        String url = this.remoteUrl + Constants.AI_SERVICE_VIDEO_LOAD;
        boolean success = PythonInvokeUtils.postLoadVideoGather(batchId, url, this.restTemplate);
        return success? null : "python 加载视频调用失败";
    }
    @Override
@@ -138,6 +140,11 @@
        logger.debug("批次任务状态已更新成功! " + batchId);
    }
    @Override
    protected void ignoreTaskStatus(String batchId) {
        this.videoExecutorService.execIgnoreTaskStatus(batchId);
    }
    private List<Rc_video_user> toRcVideoUserList(List<SimilarVideoUser> similarVideoUserList){
        if(StringUtils.isEmptyList(similarVideoUserList)){
            return null;