From 5e7b0ed4a154ad067cbcf4aa1a1c7cce32f9864c Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期五, 26 四月 2024 18:02:17 +0800
Subject: [PATCH] 唯品会链接解析升级

---
 fanli/src/main/java/com/yeshi/fanli/controller/client/v2/ShareControllerV2.java |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/controller/client/v2/ShareControllerV2.java b/fanli/src/main/java/com/yeshi/fanli/controller/client/v2/ShareControllerV2.java
index e3891d0..b1b4980 100644
--- a/fanli/src/main/java/com/yeshi/fanli/controller/client/v2/ShareControllerV2.java
+++ b/fanli/src/main/java/com/yeshi/fanli/controller/client/v2/ShareControllerV2.java
@@ -357,6 +357,10 @@
             createTaoLijin(uid, goodsId, totalNum, relationId, acceptData, request, out);
             return;
         } else {// 鏅�氬垎浜垱寤�
+            if("鐚滀綘鍠滄".equalsIgnoreCase(source)){
+                out.print(JsonUtil.loadFalseResult(4, "鏆備笉鏀寔鍒嗕韩"));
+                return;
+            }
             createCommonTaoBaoShare(acceptData.getPlatform(), acceptData.getVersion(), goodsId, inviteCode, uid,
                     needGoods, relationId, acceptData, out);
             return;
@@ -1469,8 +1473,8 @@
 
 
         ShareInfoVO shareInfo = new ShareInfoVO();
-        shareInfo.setClickUrl(convertResult.getQrCode());
-        shareInfo.setWxErCode(convertResult.getQrCode());
+        shareInfo.setClickUrl(convertResult.getZlink());
+        shareInfo.setWxErCode(convertResult.getZlink());
         shareInfo.setCommentTexts(new ArrayList<>());
         shareInfo.setRule(configService.getValue(ConfigKeyEnum.shareRuleLinkDY.getKey(), system));
         shareInfo.setPictUrl(goods.getCover());

--
Gitblit v1.8.0