|
@@ -616,7 +616,10 @@ public class WalletServiceImpl implements IWalletService {
|
|
|
wxRequestParam.setTradeType(com.qs.mp.common.constant.Constants.PAY_STYLE_WXMINI_DOUGONG);
|
|
|
wxRequestParam.setOpenid(code);
|
|
|
List<PaymentConfig> paymentConfigList = dougongPayApi.getAvailablePaymentConfigList();
|
|
|
+ LogUtil.info(logger,"斗拱配置个数:-------------------------------》" + paymentConfigList.size());
|
|
|
+ LogUtil.info(logger,"斗拱配置参数1:-------------------------------》" + JSONUtil.toJsonStr(paymentConfigList.get(0)));
|
|
|
PaymentConfig paymentConfig = CollectionUtil.isNotEmpty(paymentConfigList) ? RandomUtil.randomEle(paymentConfigList) : null;
|
|
|
+ LogUtil.info(logger,"斗拱配置参数2:-------------------------------》" + JSONUtil.toJsonStr(paymentConfig));
|
|
|
|
|
|
if(StringUtils.isEmpty(wxAppId)){
|
|
|
wxAppId = Objects.nonNull(paymentConfig) ? paymentConfig.getAppletId() : "";
|