Compare commits

..

No commits in common. 'ea83bb9c31a729110a4bf2a4b13b70dbf41baf6f' and '8944cf43337823aa8daf8b1acc5aed7986c8b032' have entirely different histories.

  1. 15
      hai-order/src/main/java/com/web/controller/OrderPayController.java

@ -373,20 +373,7 @@ public class OrderPayController {
weChatPayReqInfo.setSub_mch_id(WxOrderConfig.MCH_ID_1667177808); weChatPayReqInfo.setSub_mch_id(WxOrderConfig.MCH_ID_1667177808);
} else if (order.getProductType().equals(OrderProductType.PRODUCT_TYPE12.getNumber())) { } else if (order.getProductType().equals(OrderProductType.PRODUCT_TYPE12.getNumber())) {
// weChatPayReqInfo.setSub_mch_id(WxOrderConfig.MCH_ID_1614670195); weChatPayReqInfo.setSub_mch_id(WxOrderConfig.MCH_ID_1614670195);
//
// 查询支付配置
HighGasChannelConfig gasChannelConfig = gasChannelConfigService.getConfig(GasChannel.type2);
if (gasChannelConfig == null) {
throw ErrorHelp.genException(SysCode.System, ErrorCode.COMMON_ERROR, "未配置支付参数,请稍后重试!");
}
payPlatformType = gasChannelConfig.getPayPlatformType();
payPlatformKey = gasChannelConfig.getPayPlatformMerKey();
payPlatformMerNo = gasChannelConfig.getPayPlatformMerNo();
weChatPayReqInfo.setSub_mch_id(gasChannelConfig.getPayPlatformMerNo());
profitSharing = gasChannelConfig.getProfitSharingStatus().equals(true) ? "Y" : "N";
} else if (order.getProductType().equals(OrderProductType.PRODUCT_TYPE15.getNumber())) { } else if (order.getProductType().equals(OrderProductType.PRODUCT_TYPE15.getNumber())) {
// 查询支付配置 // 查询支付配置
HighGasChannelConfig gasChannelConfig = gasChannelConfigService.getConfig(GasChannel.type7); HighGasChannelConfig gasChannelConfig = gasChannelConfigService.getConfig(GasChannel.type7);

Loading…
Cancel
Save