## Opt - 京东支付 页面返回地址(兼容性)

This commit is contained in:
sangelxiu1 2025-09-24 16:16:04 +08:00
parent c24f791714
commit fa645604ce
2 changed files with 7 additions and 0 deletions

View File

@ -72,11 +72,13 @@ public class JdPayAggregateCreateOrderRequest implements Serializable {
* 同步通知页面url
*/
private String pageBackUrl;
private String pagebackUrl;
/**
* 点击完成按钮后跳转页面
*/
private String callbackUrl;
private String callBackUrl;
/**
* 风控信息map-- json串
*/

View File

@ -103,8 +103,13 @@ public class JdPayServiceImpl implements IJdPayService {
// 用户标识收银台必传
.userId(userId)
// 同步通知URL收银台必传页面回调地址
.pagebackUrl(jdPayBankProperties.getPageBackUrl() + "?extParam=" + onlinePayment.getExtParam())
.pageBackUrl(jdPayBankProperties.getPageBackUrl() + "?extParam=" + onlinePayment.getExtParam())
.callbackUrl(jdPayBankProperties.getPageBackUrl() + "?extParam=" + onlinePayment.getExtParam())
.callBackUrl(jdPayBankProperties.getPageBackUrl() + "?extParam=" + onlinePayment.getExtParam())
// 支付回调地址
.notifyUrl(jdPayBankProperties.getNotifyUrl())
// 交易类型