From c44a4296e8913080bff7ca0ee1b65356ed34ec3d Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期三, 24 三月 2021 19:17:45 +0800 Subject: [PATCH] 集成优酷/腾讯搜索 --- src/main/java/com/yeshi/buwan/service/imp/video/VideoInfoExtraServiceImpl.java | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/yeshi/buwan/service/imp/video/VideoInfoExtraServiceImpl.java b/src/main/java/com/yeshi/buwan/service/imp/video/VideoInfoExtraServiceImpl.java index 33c24fc..160337d 100644 --- a/src/main/java/com/yeshi/buwan/service/imp/video/VideoInfoExtraServiceImpl.java +++ b/src/main/java/com/yeshi/buwan/service/imp/video/VideoInfoExtraServiceImpl.java @@ -50,6 +50,8 @@ @Override public void batchExtra(List<VideoInfo> videoInfoList) { + if (videoInfoList == null || videoInfoList.size() == 0) + return; List<String> ids = new ArrayList<>(); for (VideoInfo videoInfo : videoInfoList) { ids.add(videoInfo.getId()); -- Gitblit v1.8.0