|
|
|
@@ -163,9 +163,9 @@ public class WxMiniMaPayAdapterService extends BaseWxPayV2AdapterService impleme |
|
|
|
String productName, EnumPayShare isShare,WxAppinfo appInfo, Date currentDate, PayExtraParam params) throws Exception { |
|
|
|
|
|
|
|
//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()) { |
|
|
|
// 扫码支付 普通商户模式 |
|
|
|
String bAppId = (String) params.getValue("bAppId"); |
|
|
|
|