Răsfoiți Sursa

斗拱支付

Chris-zy 1 an în urmă
părinte
comite
b69a486f9e

+ 2 - 2
mp-service/src/main/java/com/qs/mp/pay/service/impl/WalletServiceImpl.java

@@ -621,13 +621,13 @@ public class WalletServiceImpl implements IWalletService {
     PaymentConfig paymentConfig = CollectionUtil.isNotEmpty(paymentConfigList) ? RandomUtil.randomEle(paymentConfigList) : null;
     LogUtil.info(logger,"斗拱配置参数2:-------------------------------》" + JSONUtil.toJsonStr(paymentConfig));
 
-    if(StringUtils.isEmpty(wxAppId)){
+    /*if(StringUtils.isEmpty(wxAppId)){
       wxAppId = Objects.nonNull(paymentConfig) ? paymentConfig.getAppletId() : "";
     }else{
       final String appId0 = wxAppId;
       paymentConfig = CollectionUtil.isNotEmpty(paymentConfigList) ? paymentConfigList.stream().filter(p->appId0.equals(p.getAppletId())).findFirst().orElse(null) : null;
       LogUtil.info(logger,"wxCreateJSAPIOrderWxminiDougong--appId:{}",wxAppId);
-    }
+    }*/
 
     wxRequestParam.setAppid(Objects.nonNull(paymentConfig) ? paymentConfig.getAppletId() : "");
     wxRequestParam.setPayStyle(payStyle);