fix: 回调测试
This commit is contained in:
@@ -73,7 +73,7 @@ public class AliPayController extends AbstractAliPayApiController {
|
||||
private final AjaxResult result = new AjaxResult();
|
||||
// 普通公钥模式
|
||||
private final static String NOTIFY_URL = "/payment/aliPay/callback";
|
||||
private final static String PRE_NOTIFY_URL = "/sys-api";
|
||||
private final static String PRE_NOTIFY_URL = "/u-api";
|
||||
private final static String TEST_PRE_NOTIFY_URL = "/proxy-default";
|
||||
/**
|
||||
* 证书模式
|
||||
@@ -191,7 +191,7 @@ public class AliPayController extends AbstractAliPayApiController {
|
||||
String returnUrl = aliPayBean.getDomain() + RETURN_URL;
|
||||
String notifyUrl = aliPayBean.getDomain() + PRE_NOTIFY_URL + NOTIFY_URL;
|
||||
if (StrUtil.isNotBlank(aliPayBean.getTestDomain())) {
|
||||
notifyUrl = aliPayBean.getTestDomain() + TEST_PRE_NOTIFY_URL + NOTIFY_URL;
|
||||
notifyUrl = aliPayBean.getTestDomain() + PRE_NOTIFY_URL + NOTIFY_URL;
|
||||
}
|
||||
AlipayTradePagePayModel model = new AlipayTradePagePayModel();
|
||||
|
||||
|
||||
@@ -62,7 +62,7 @@ alipay:
|
||||
aliPayCertPath: \u652F\u4ED8\u5B9D\u516C\u94A5\u8BC1\u4E66
|
||||
aliPayRootCertPath: \u652F\u4ED8\u5B9D\u6839\u8BC1\u4E66
|
||||
serverUrl: https://openapi-sandbox.dl.alipaydev.com/gateway.do
|
||||
domain: http://192.168.9.50/u
|
||||
domain: http://192.168.9.50
|
||||
testDomain: http://129.204.171.210:8085
|
||||
|
||||
wxpay:
|
||||
|
||||
Reference in New Issue
Block a user