xhxu 3 лет назад
Родитель
Сommit
b612f5a034
1 измененных файлов: 3 добавлений и 3 удалений
  1. +3
    -3
      mallinkService/src/main/java/com/iformall/service/pay/service/pay/wx/v2/miniApp/maPay/WxMiniMaPayAdapterService.java

+ 3
- 3
mallinkService/src/main/java/com/iformall/service/pay/service/pay/wx/v2/miniApp/maPay/WxMiniMaPayAdapterService.java Просмотреть файл

@@ -163,9 +163,9 @@ public class WxMiniMaPayAdapterService extends BaseWxPayV2AdapterService impleme
String productName, EnumPayShare isShare,WxAppinfo appInfo, Date currentDate, PayExtraParam params) throws Exception { String productName, EnumPayShare isShare,WxAppinfo appInfo, Date currentDate, PayExtraParam params) throws Exception {
//2.0版本未对接直连模式, 小商户进件成为特约商户号 //2.0版本未对接直连模式, 小商户进件成为特约商户号
if (payAccount.getMchType() == EnumPayMchType.DIRECT.getCode()) {
throw new MallinkException(ErrorCode.SYS_PARAMETER_NOT_NULL.getCode(),"当前支付版本不支持直连模式");
}
// if (payAccount.getMchType() == EnumPayMchType.DIRECT.getCode()) {
// throw new MallinkException(ErrorCode.SYS_PARAMETER_NOT_NULL.getCode(),"当前支付版本不支持直连模式");
// }
if (payAccount.getType() == EnumPayMode.MCH.getCode()) { if (payAccount.getType() == EnumPayMode.MCH.getCode()) {
// 扫码支付 普通商户模式 // 扫码支付 普通商户模式
String bAppId = (String) params.getValue("bAppId"); String bAppId = (String) params.getValue("bAppId");


Загрузка…
Отмена
Сохранить