From 56481656c7de11cdca69c1a7dd69db176ffd9ecd Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期六, 08 五月 2021 12:49:30 +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