|
|
|
@ -228,7 +228,7 @@ public class OrderPayController { |
|
|
|
|
|
|
|
|
|
if (store.getSourceType().equals(MerchantStoreSourceType.type1.getNumber())) { |
|
|
|
|
// 查询支付配置
|
|
|
|
|
HighGasChannelConfig gasChannelConfig = gasChannelConfigService.getConfig(GasChannel.type1, GasChannelPayPlatformType.type1); |
|
|
|
|
HighGasChannelConfig gasChannelConfig = gasChannelConfigService.getConfig(GasChannel.type1); |
|
|
|
|
if (gasChannelConfig == null) { |
|
|
|
|
throw ErrorHelp.genException(SysCode.System, ErrorCode.COMMON_ERROR, "未配置支付参数,请稍后重试!"); |
|
|
|
|
} |
|
|
|
@ -582,7 +582,7 @@ public class OrderPayController { |
|
|
|
|
payParam.put("outTradeNo" , order.getOrderNo()); |
|
|
|
|
payParam.put("transType" , "JSAPI"); |
|
|
|
|
payParam.put("payMode" , "ALIPAY"); |
|
|
|
|
payParam.put("totalAmount" , order.getPayRealPrice()); |
|
|
|
|
payParam.put("totalAmount" , order.getPayablePrice()); |
|
|
|
|
payParam.put("profitSharing" , profitSharing.equals("Y")?1:0); |
|
|
|
|
payParam.put("notifyUrl" , SysConst.getSysConfig().getHuiPayNotify()); |
|
|
|
|
payParam.put("subject" , orderTitle); |
|
|
|
|