From 8ce7c720e4e7a604b0ff770349b5556f39d37759 Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期一, 13 九月 2021 11:44:38 +0800
Subject: [PATCH] 好省呗应用兼容

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

diff --git a/fanli/src/main/java/com/yeshi/fanli/controller/client/v2/RecommendControllerV2.java b/fanli/src/main/java/com/yeshi/fanli/controller/client/v2/RecommendControllerV2.java
index cb59a64..2a68c76 100644
--- a/fanli/src/main/java/com/yeshi/fanli/controller/client/v2/RecommendControllerV2.java
+++ b/fanli/src/main/java/com/yeshi/fanli/controller/client/v2/RecommendControllerV2.java
@@ -359,9 +359,9 @@
 
         JumpDetailV2 jumpDetail = null;
         if (VersionUtil.greaterThan_2_0_2(acceptData.getPlatform(), acceptData.getVersion())) {
-            jumpDetail = jumpDetailV2Service.getByTypeCache("spike_goods_list");
+            jumpDetail = jumpDetailV2Service.getByTypeCache("spike_goods_list",acceptData.getSystem());
         } else {
-            jumpDetail = jumpDetailV2Service.getByTypeCache("web");
+            jumpDetail = jumpDetailV2Service.getByTypeCache("web",acceptData.getSystem());
         }
 
         if (array == null) {
@@ -538,7 +538,7 @@
         params.put("balanceMore", true);
         root.put("params", params);
         root.put("jumpDetail", jumpDetailV2Service.getByTypeCache("integralExchange",
-                Constant.getPlatformCode(acceptData.getPlatform()), Integer.parseInt(acceptData.getVersion())));
+                Constant.getPlatformCode(acceptData.getPlatform()), Integer.parseInt(acceptData.getVersion()),acceptData.getSystem()));
 
         root.put("name", "閲戝竵鍏戞崲");
         root.put("desc", "姣忔棩绛惧埌锛屾儕鍠滀笉鍋�");
@@ -576,10 +576,10 @@
         root.put("picture", "http://img.flqapp.com/resource/home_search_found.png");
         root.put("params", params);
         root.put("jumpDetail", jumpDetailV2Service.getByTypeCache("web",
-                Constant.getPlatformCode(acceptData.getPlatform()), Integer.parseInt(acceptData.getVersion())));
+                Constant.getPlatformCode(acceptData.getPlatform()), Integer.parseInt(acceptData.getVersion()),acceptData.getSystem()));
 
         root.put("jumpResult", jumpDetailV2Service.getByTypeCache("search_goods_result",
-                Constant.getPlatformCode(acceptData.getPlatform()), Integer.parseInt(acceptData.getVersion())));
+                Constant.getPlatformCode(acceptData.getPlatform()), Integer.parseInt(acceptData.getVersion()),acceptData.getSystem()));
         root.put("keyList", array);
         return root;
     }
@@ -655,7 +655,7 @@
                     acceptData.getVersion(), acceptData.getSystem());
 
 
-            List<GoodsDetailVO> voList = goodsLijinMnager.loadTBMoneyInfo(acceptData.getSystem(), uid, goodsList, paramsDTO);
+            List<GoodsDetailVO> voList = goodsLijinMnager.loadTBMoneyInfo(acceptData.getSystem(), uid, goodsList, paramsDTO,false);
 
             for (GoodsDetailVO vo : voList) {
                 if (page < 3)
@@ -695,7 +695,7 @@
 
             JSONArray array = new JSONArray();
             for (GoodsDetailVO vo : voList) {
-                if (acceptData.getSystem() == SystemEnum.yhqjx) {
+                if (acceptData.getSystem() == SystemEnum.yhqjx||acceptData.getSystem() == SystemEnum.hsb) {
                     if (!StringUtil.isNullOrEmpty(vo.getMoneyInfo().getHongBaoMoney())) {
                         array.add(gson.toJson(vo));
                     }
@@ -745,7 +745,7 @@
                                 deviceGoodsList.add(goods);
                             }
                         }
-                        List<GoodsDetailVO> voList = goodsLijinMnager.loadTBMoneyInfo(acceptData.getSystem(), uid, deviceGoodsList, paramsDTO);
+                        List<GoodsDetailVO> voList = goodsLijinMnager.loadTBMoneyInfo(acceptData.getSystem(), uid, deviceGoodsList, paramsDTO,false);
                         for (GoodsDetailVO vo : voList) {
                             vo.setRecommend(true);
                         }
@@ -786,7 +786,7 @@
 
         JSONArray array = new JSONArray();
         for (GoodsDetailVO vo : finalVOList) {
-            if (acceptData.getSystem() == SystemEnum.yhqjx) {
+            if (acceptData.getSystem() == SystemEnum.yhqjx||acceptData.getSystem() == SystemEnum.hsb) {
                 if (!StringUtil.isNullOrEmpty(vo.getMoneyInfo().getHongBaoMoney())) {
                     array.add(gson.toJson(vo));
                 }

--
Gitblit v1.8.0