From 6aed6290ad05fe2aa125bb8e804e2e8c2f13a613 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期二, 09 三月 2021 16:53:04 +0800 Subject: [PATCH] 我的里面信息修改修复,添加umeng事件统计,优化搜索结果页广告 --- BuWanVideo/src/com/weikou/beibeivideo/BeibeiVideoAPI.java | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/BuWanVideo/src/com/weikou/beibeivideo/BeibeiVideoAPI.java b/BuWanVideo/src/com/weikou/beibeivideo/BeibeiVideoAPI.java index 8a0cf5f..5eb6dc4 100644 --- a/BuWanVideo/src/com/weikou/beibeivideo/BeibeiVideoAPI.java +++ b/BuWanVideo/src/com/weikou/beibeivideo/BeibeiVideoAPI.java @@ -1109,7 +1109,7 @@ } public static void getVideoDetail(Context context, String uid, - String ResourceId, String videoId, Integer position, String loginid, String type, + String ResourceId, String videoId, Integer position, String loginid, String type, String from, ResponseHandlerInterface handler) { LinkedHashMap<String, String> params = new LinkedHashMap<String, String>(); params.put("Method", "getVideoDetail"); @@ -1118,6 +1118,10 @@ params.put("VideoId", videoId); if (position != null) { params.put("Position", position + ""); + } + + if (from != null) { + params.put("From", from + ""); } params.put("ResourceId", ResourceId); params.put("Type", type); @@ -1365,7 +1369,7 @@ for (Iterator<String> its = params.keySet().iterator(); its.hasNext(); ) { String key = its.next(); if (params.get(key) != null) { - newParams.put(key,params.get(key)); + newParams.put(key, params.get(key)); } } -- Gitblit v1.8.0