From 010ef2a907e66efd4702443c06cdd18f8a7ffa5b Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期三, 30 十月 2024 14:08:53 +0800 Subject: [PATCH] IP归属地查询接口集成 --- src/main/java/com/yeshi/buwan/job/video/ShortVideoUpdateJob.java | 26 +++++++++++++------------- 1 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/main/java/com/yeshi/buwan/job/video/ShortVideoUpdateJob.java b/src/main/java/com/yeshi/buwan/job/video/ShortVideoUpdateJob.java index 83f8c6a..9395a3d 100644 --- a/src/main/java/com/yeshi/buwan/job/video/ShortVideoUpdateJob.java +++ b/src/main/java/com/yeshi/buwan/job/video/ShortVideoUpdateJob.java @@ -124,19 +124,19 @@ throw new Exception("area涓嶈兘涓虹┖"); } - for (int i = 19; i >= 0; i--) { - try { - List<TencentWebUtil.TencentWebVideoInfo> list = TencentWebUtil.getVideoList(TencentWebUtil.parseParams(urlParams.getUrl()), i + 1); - if (list.size() == 0) - continue; - Collections.reverse(list); - for (TencentWebUtil.TencentWebVideoInfo videoInfo : list) { - solrShortVideoDataManager.saveOrUpdate(SolrShortVideoFactory.create(videoInfo, urlParams.getArea(), urlParams.getVideoType())); - } - } catch (Exception e) { - - } - } +// for (int i = 19; i >= 0; i--) { +// try { +// List<TencentWebUtil.TencentWebVideoInfo> list = TencentWebUtil.getVideoList(TencentWebUtil.parseParams(urlParams.getUrl()), i + 1); +// if (list.size() == 0) +// continue; +// Collections.reverse(list); +// for (TencentWebUtil.TencentWebVideoInfo videoInfo : list) { +// solrShortVideoDataManager.saveOrUpdate(SolrShortVideoFactory.create(videoInfo, urlParams.getArea(), urlParams.getVideoType())); +// } +// } catch (Exception e) { +// +// } +// } return ReturnT.SUCCESS; } } -- Gitblit v1.8.0