|
|
|
@ -218,6 +218,18 @@ public class OrderPayController { |
|
|
|
|
payPlatformMerNo = gasChannelConfig.getPayPlatformMerNo(); |
|
|
|
|
payPlatformKey = gasChannelConfig.getPayPlatformMerKey(); |
|
|
|
|
|
|
|
|
|
weChatPayReqInfo.setSub_mch_id(gasChannelConfig.getPayPlatformMerNo()); |
|
|
|
|
profitSharing = gasChannelConfig.getProfitSharingStatus().equals(true) ? "Y" : "N"; |
|
|
|
|
}else if(coupon.getCouponSource().equals(10)) { |
|
|
|
|
// 查询支付配置
|
|
|
|
|
HighGasChannelConfig gasChannelConfig = gasChannelConfigService.getConfig(GasChannel.type8); |
|
|
|
|
if (gasChannelConfig == null) { |
|
|
|
|
throw ErrorHelp.genException(SysCode.System, ErrorCode.COMMON_ERROR, "未配置支付参数,请稍后重试!"); |
|
|
|
|
} |
|
|
|
|
payPlatformType = gasChannelConfig.getPayPlatformType(); |
|
|
|
|
payPlatformMerNo = gasChannelConfig.getPayPlatformMerNo(); |
|
|
|
|
payPlatformKey = gasChannelConfig.getPayPlatformMerKey(); |
|
|
|
|
|
|
|
|
|
weChatPayReqInfo.setSub_mch_id(gasChannelConfig.getPayPlatformMerNo()); |
|
|
|
|
profitSharing = gasChannelConfig.getProfitSharingStatus().equals(true) ? "Y" : "N"; |
|
|
|
|
} else { |
|
|
|
|