From b9f8ef2c4737b6e6be4b12fc8f7bafb033bfcfe5 Mon Sep 17 00:00:00 2001
From: admin <2780501319@qq.com>
Date: 星期日, 22 九月 2019 16:47:33 +0800
Subject: [PATCH] 金币BUG修改

---
 fanli/src/main/java/com/yeshi/fanli/controller/client/v2/ConfigControllerV2.java |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/controller/client/v2/ConfigControllerV2.java b/fanli/src/main/java/com/yeshi/fanli/controller/client/v2/ConfigControllerV2.java
index 0537762..a6c2ac2 100644
--- a/fanli/src/main/java/com/yeshi/fanli/controller/client/v2/ConfigControllerV2.java
+++ b/fanli/src/main/java/com/yeshi/fanli/controller/client/v2/ConfigControllerV2.java
@@ -155,7 +155,7 @@
 		} else {// 鑰佷汉
 			data.put("userTimeType", 1);
 		}
-		data.put("hotFuctionLink", configService.get("hot_function_url"));
+		data.put("hotFuctionLink",configService.getByVersion("hot_function_url", platform, Integer.parseInt(acceptData.getVersion())));
 		out.print(JsonUtil.loadTrueResult(data));
 	}
 
@@ -245,11 +245,17 @@
 		JSONObject data = new JSONObject();
 
 		if (url != null && url.contains("ifeeds.tmall.com/article.html?")) {
-			data.put("baichuan", true);
+			if (VersionUtil.greaterThan_2_0(acceptData.getPlatform(), acceptData.getVersion()))
+				data.put("baichuan", false);
+			else
+				data.put("baichuan", true);
 			data.put("goodsDetail", false);
 		} else if (url != null && (url.contains("s.click") || url.contains("taobao.com") || url.contains("tmall.com")
 				|| url.contains("m.tb.cn"))) {
-			data.put("baichuan", true);// 閲囩敤闃块噷鐧惧窛鐨勬柟寮忓姞杞絯ebview
+			if (VersionUtil.greaterThan_2_0(acceptData.getPlatform(), acceptData.getVersion()))
+				data.put("baichuan", false);
+			else
+				data.put("baichuan", true);
 			data.put("goodsDetail", true);// 闇�瑕佹嫤鎴晢鍝佽鎯�
 		} else if (url != null && (url.contains("jd.com"))) {
 			// 涓嶈兘鍖呭惈璇︽儏椤�

--
Gitblit v1.8.0