From 89e370bfdda29ac8a8f7080a18dc09a6ddc75c09 Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期一, 26 十月 2020 18:42:16 +0800
Subject: [PATCH] 风行爱奇艺视频更新

---
 src/main/java/com/yeshi/buwan/util/video/VideoConstant.java |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/yeshi/buwan/util/video/VideoConstant.java b/src/main/java/com/yeshi/buwan/util/video/VideoConstant.java
index 337296f..37f9d4c 100644
--- a/src/main/java/com/yeshi/buwan/util/video/VideoConstant.java
+++ b/src/main/java/com/yeshi/buwan/util/video/VideoConstant.java
@@ -1,6 +1,16 @@
 package com.yeshi.buwan.util.video;
 
+import java.util.Arrays;
+import java.util.List;
+
 public class VideoConstant {
+
+
+    public final static List<String> iqiyiSpecialNames = Arrays.asList(new String[]{
+            //涓嶅弬涓庤繃婊ょ殑璇�
+            "銆婂崸搴曘��"
+    });
+
 
     public final static int VIDEO_CATEGORY_DIANYING = 151;
     public final static int VIDEO_CATEGORY_DIANSHIJU = 150;
@@ -25,4 +35,16 @@
         return false;
     }
 
+    public static String getMainCategoryName(long id) {
+        if (id == VIDEO_CATEGORY_DIANSHIJU)
+            return "鐢佃鍓�";
+        if (id == VIDEO_CATEGORY_DIANYING)
+            return "鐢靛奖";
+        if (id == VIDEO_CATEGORY_DONGMAN)
+            return "鍔ㄦ极";
+        if (id == VIDEO_CATEGORY_ZONGYI)
+            return "缁艰壓";
+        return "";
+    }
+
 }

--
Gitblit v1.8.0