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/DynamicControllerV2.java |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/controller/client/v2/DynamicControllerV2.java b/fanli/src/main/java/com/yeshi/fanli/controller/client/v2/DynamicControllerV2.java
index 62aae39..9e367ba 100644
--- a/fanli/src/main/java/com/yeshi/fanli/controller/client/v2/DynamicControllerV2.java
+++ b/fanli/src/main/java/com/yeshi/fanli/controller/client/v2/DynamicControllerV2.java
@@ -682,6 +682,9 @@
                 }
 
                 for (GoodsEvaluate goodsEvaluate : list) {
+                    if (goodsEvaluate.getGoods() != null) {
+                        goodsEvaluate.getGoods().setCreatetime(null);
+                    }
                     GoodsEvaluate evaluateNew = new GoodsEvaluate();
                     try {
                         PropertyUtils.copyProperties(evaluateNew, goodsEvaluate);
@@ -717,7 +720,7 @@
 
                         for (ImgInfo imgInfo : goodsEvaluate.getImgList()) {
 
-                            if (acceptData.getSystem() == SystemEnum.yhqjx) {
+                            if (acceptData.getSystem() == SystemEnum.yhqjx||acceptData.getSystem() == SystemEnum.hsb) {
                                 imgInfo.setGoods(null);
                                 imgInfo.setGoodsVO(null);
                             }
@@ -1261,7 +1264,7 @@
         String newText = text; // 闈為�氱敤鍒搁渶瑕侀獙璇�
 
         //鐗逛环鍙渶瑕佸鍒舵枃瀛楋紝涓嶉渶瑕佽浆閾�
-        if (acceptData.getSystem() == SystemEnum.yhqjx) {
+        if (acceptData.getSystem() == SystemEnum.yhqjx||acceptData.getSystem() == SystemEnum.hsb) {
             newText = GoodsTextUtil.decodeAppHtmlText(newText);
             //鍙鍒舵枃瀛�
             JSONObject data = new JSONObject();
@@ -1427,7 +1430,7 @@
 
             int platformCode = Constant.getPlatformCode(acceptData.getPlatform());
             jumpDetail = jumpDetailV2Service.getByTypeCache("web", platformCode,
-                    Integer.parseInt(acceptData.getVersion()));
+                    Integer.parseInt(acceptData.getVersion()),acceptData.getSystem());
             JSONObject inner = new JSONObject();
             inner.put("url", jumpLink);
             params = inner.toString();

--
Gitblit v1.8.0