From f13ed98e1de0ec7b85ed179212cc095f63480eed Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期四, 25 三月 2021 18:18:20 +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