| | |
| | | @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 |
| | |
| | | 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; |