|
@@ -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);
|