From a62905c725c5ffd88f29dfac644591cde18751e1 Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期四, 10 九月 2020 13:40:09 +0800
Subject: [PATCH] 广告优化

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

diff --git a/BuWanVideo/src/com/weikou/beibeivideo/BeibeiVideoAPI.java b/BuWanVideo/src/com/weikou/beibeivideo/BeibeiVideoAPI.java
index a24a39f..e0101c8 100644
--- a/BuWanVideo/src/com/weikou/beibeivideo/BeibeiVideoAPI.java
+++ b/BuWanVideo/src/com/weikou/beibeivideo/BeibeiVideoAPI.java
@@ -197,11 +197,10 @@
     public static void search(Context context, String uid, String key,
                               String contentType, String page, ResponseHandlerInterface handler) {
         LinkedHashMap<String, String> params = new LinkedHashMap<String, String>();
-        params.put("Method", "search");
+        params.put("Method", "searchNew");
         params.put("Uid", uid);
         params.put("Key", key);
-        params.put("Type", "1");
-        params.put("ContentType", contentType);
+        params.put("Type", contentType);
         params.put("Page", page);
         commonPost(context, BASE_URL + "user", params, handler);
     }

--
Gitblit v1.8.0