From 8d0d2ac5db499a72cc029c6c5ced1d4f82c2c4d1 Mon Sep 17 00:00:00 2001
From: 1098226878 <1098226878@qq.com>
Date: 星期一, 06 九月 2021 16:46:12 +0800
Subject: [PATCH] Merge branch 'master' of http://git.homecommunity.cn/supervip/MicroCommunity

---
 service-front/src/main/java/com/java110/front/smo/wechatGateway/impl/WechatGatewaySMOImpl.java |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/service-front/src/main/java/com/java110/front/smo/wechatGateway/impl/WechatGatewaySMOImpl.java b/service-front/src/main/java/com/java110/front/smo/wechatGateway/impl/WechatGatewaySMOImpl.java
index 86aece8..f55f1cf 100755
--- a/service-front/src/main/java/com/java110/front/smo/wechatGateway/impl/WechatGatewaySMOImpl.java
+++ b/service-front/src/main/java/com/java110/front/smo/wechatGateway/impl/WechatGatewaySMOImpl.java
@@ -75,7 +75,13 @@
             }
             if (!noBindOwnerResponseMessage.contains("wAppId=")) {
                 if (noBindOwnerResponseMessage.indexOf("W_APP_ID") > 0) {
-                    noBindOwnerResponseMessage = noBindOwnerResponseMessage.replace("W_APP_ID","wAppId=" +WechatFactory.getAppId(wId));
+                    noBindOwnerResponseMessage = noBindOwnerResponseMessage.replace("W_APP_ID", "wAppId=" + WechatFactory.getAppId(wId));
+                } else {
+                    if (noBindOwnerResponseMessage.indexOf("?") > -1) {
+                        noBindOwnerResponseMessage += ("&wAppId=" + WechatFactory.getAppId(wId));
+                    } else {
+                        noBindOwnerResponseMessage += ("?wAppId=" + WechatFactory.getAppId(wId));
+                    }
                 }
             }
 

--
Gitblit v1.8.0