From b41a6efe17ba61d150c5a9b7309651cebae54e0d Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期五, 03 九月 2021 16:40:43 +0800
Subject: [PATCH] 韩迷TV相关bug修改,电视直播完善(后台+前端API)

---
 src/main/java/com/yeshi/buwan/util/VideoPictureUtil.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/yeshi/buwan/util/VideoPictureUtil.java b/src/main/java/com/yeshi/buwan/util/VideoPictureUtil.java
index def22ad..73e56af 100644
--- a/src/main/java/com/yeshi/buwan/util/VideoPictureUtil.java
+++ b/src/main/java/com/yeshi/buwan/util/VideoPictureUtil.java
@@ -9,7 +9,7 @@
 			System.out.println("---");
 		}
 
-		if (vi.getVideocount() > 1) {
+		if (vi.getVideocount()!=null&&vi.getVideocount() > 1) {
 			if (platform.equalsIgnoreCase("android")) {// Android
 				if (StringUtil.isNullOrEmpty(version) || Integer.parseInt(version) < 35) {
 					if (!StringUtil.isNullOrEmpty(vi.getLatestVpicture())) {

--
Gitblit v1.8.0