From ad3ac53da1c3a11a96ae62d790aa61a81b9eab91 Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期六, 20 三月 2021 18:47:23 +0800
Subject: [PATCH] 完善APP首页顶部标签栏兼容,初步处理推送

---
 src/main/java/com/yeshi/buwan/sohu/SoHuUtil.java |   21 +++------------------
 1 files changed, 3 insertions(+), 18 deletions(-)

diff --git a/src/main/java/com/yeshi/buwan/sohu/SoHuUtil.java b/src/main/java/com/yeshi/buwan/sohu/SoHuUtil.java
index 4d298f3..b7eb804 100644
--- a/src/main/java/com/yeshi/buwan/sohu/SoHuUtil.java
+++ b/src/main/java/com/yeshi/buwan/sohu/SoHuUtil.java
@@ -49,21 +49,6 @@
 	@Resource
 	private VideoResourceDao videoResourceDao;
 
-	public SoHuVideoDao getSoHuVideoDao() {
-		return soHuVideoDao;
-	}
-
-	public void setSoHuVideoDao(SoHuVideoDao soHuVideoDao) {
-		this.soHuVideoDao = soHuVideoDao;
-	}
-
-	public SoHuService getSoHuService() {
-		return soHuService;
-	}
-
-	public void setSoHuService(SoHuService soHuService) {
-		this.soHuService = soHuService;
-	}
 
 	public static List<RootCategory> getCategory() {
 		List<RootCategory> list = SoHuApi.rootCategoryList();
@@ -84,7 +69,7 @@
 	}
 
 	public static List<Integer> getSecondCategory(int scode) {
-		List<Integer> list = new ArrayList<Integer>();
+		List<Integer> list = new ArrayList<>();
 
 		switch (scode) {
 		// 鐢佃鍓�
@@ -581,7 +566,7 @@
 
 	@SuppressWarnings("unchecked")
 	public void parseAll() {
-		List<RootCategory> list =new ArrayList<RootCategory>(); //SoHuApi.rootCategoryList();
+		List<RootCategory> list =new ArrayList<>(); //SoHuApi.rootCategoryList();
 		RootCategory rc = new RootCategory();
 		rc.setCateId(9004);
 		list.add(rc);
@@ -632,7 +617,7 @@
 										sa.setTip(svc.getTip());
 										String c = SoHuApi.getVideoList(sa.getAid(), 1, 20).get("count") + "";
 										if (!StringUtil.isNullOrEmpty(c)) {
-											List<SoHuVideo> vlist = new ArrayList<SoHuVideo>();
+											List<SoHuVideo> vlist = new ArrayList<>();
 											for (int p = 1; p < Integer.parseInt(c) / 50 + 2; p++) {
 												List<SoHuVideo> videoList = (List<SoHuVideo>) SoHuApi
 														.getVideoList(sa.getAid(), p, 50).get("data");

--
Gitblit v1.8.0