From 214f9edd2fe20c20e32630e9b5380cc6271c1eb7 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期六, 27 三月 2021 16:51:13 +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 5eb6dc4..c6ec44a 100644 --- a/BuWanVideo/src/com/weikou/beibeivideo/BeibeiVideoAPI.java +++ b/BuWanVideo/src/com/weikou/beibeivideo/BeibeiVideoAPI.java @@ -757,12 +757,15 @@ } - public static void getHomeAd(Context context, String uid, String vtid, + public static void getHomeAd(Context context, String uid, String vtid, String dataKey, ResponseHandlerInterface handler) { LinkedHashMap<String, String> params = new LinkedHashMap<String, String>(); params.put("Method", "getHomeAd"); params.put("Uid", uid); params.put("Vtid", vtid); + if (dataKey != null) { + params.put("DataKey", dataKey); + } commonPost(context, BASE_URL + "recommend", params, handler); } @@ -831,12 +834,15 @@ } - public static void getHomeType(Context context, String uid, String vtid, + public static void getHomeType(Context context, String uid, String vtid, String dataKey, ResponseHandlerInterface handler) { LinkedHashMap<String, String> params = new LinkedHashMap<String, String>(); params.put("Method", "getHomeType"); params.put("Uid", uid); params.put("Vtid", vtid); + if (dataKey != null) { + params.put("DataKey", dataKey); + } commonPost(context, BASE_URL + "recommend", params, handler); } -- Gitblit v1.8.0