From a8fad18ea31ad23c98fd77174c0cdd4bad0de8ea Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期四, 08 四月 2021 19:11:01 +0800
Subject: [PATCH] 新版搜索过渡页优化

---
 BuWanVideo/src/com/weikou/beibeivideo/BeibeiVideoAPI.java |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/BuWanVideo/src/com/weikou/beibeivideo/BeibeiVideoAPI.java b/BuWanVideo/src/com/weikou/beibeivideo/BeibeiVideoAPI.java
index 2e9e47f..404e4b5 100644
--- a/BuWanVideo/src/com/weikou/beibeivideo/BeibeiVideoAPI.java
+++ b/BuWanVideo/src/com/weikou/beibeivideo/BeibeiVideoAPI.java
@@ -622,8 +622,14 @@
     public static void getHotSearch(Context context, String uid,
                                     ResponseHandlerInterface handler) {
         LinkedHashMap<String, String> params = new LinkedHashMap<String, String>();
-        params.put("Method", "getHotSearch");
+        params.put("Method", "getHotSearchNew");
         params.put("Uid", uid);
+        commonPost(context, BASE_URL + "user", params, handler);
+    }
+
+    public static void getSearchRank(Context context, ResponseHandlerInterface handler) {
+        LinkedHashMap<String, String> params = new LinkedHashMap<String, String>();
+        params.put("Method", "getSearchRank");
         commonPost(context, BASE_URL + "user", params, handler);
     }
 
@@ -1173,7 +1179,7 @@
      * @param handler
      */
     public static void getVideoEpisodeList(Context context, String uid,
-                                           String ResourceId, String videoId, int page,int pageSize,
+                                           String ResourceId, String videoId, int page, int pageSize,
                                            ResponseHandlerInterface handler) {
         LinkedHashMap<String, String> params = new LinkedHashMap<String, String>();
         params.put("Method", "getVideoEpisodeList");

--
Gitblit v1.8.0