mirror of
https://gitee.com/dromara/dax-pay.git
synced 2025-09-03 02:56:20 +00:00
feat 客户系统通知联调, 修复手动发起退款上下文未进行初始化的问题, 其他一些小问题修复
This commit is contained in:
@@ -49,7 +49,7 @@ public class ClientNoticeReceiveController {
|
||||
return "SUCCESS";
|
||||
}
|
||||
|
||||
@Operation(summary = "退款消息()")
|
||||
@Operation(summary = "退款消息(对象)")
|
||||
@PostMapping("/refundObject")
|
||||
public String refund(@RequestBody RefundNoticeModel map) {
|
||||
log.info("接收到退款回调消息: {}",map);
|
||||
|
@@ -187,7 +187,7 @@ public class AggregateService {
|
||||
// 支付成功同步回调地址
|
||||
simplePayParam.setReturnUrl(StrUtil.format("{}/result/success", daxPayDemoProperties.getFrontH5Url()));
|
||||
// 中途退出 目前经测试不生效
|
||||
simplePayParam.setQuitUrl(String.format("{}/result/error", daxPayDemoProperties.getFrontH5Url()));
|
||||
simplePayParam.setQuitUrl(StrUtil.format("{}/result/error", daxPayDemoProperties.getFrontH5Url()));
|
||||
|
||||
DaxPayResult<PayOrderModel> execute = DaxPayKit.execute(simplePayParam);
|
||||
|
||||
@@ -222,8 +222,6 @@ public class AggregateService {
|
||||
.map(ServletUtil::getClientIP)
|
||||
.orElse("127.0.0.1");
|
||||
simplePayParam.setClientIp(ip);
|
||||
// 异步回调地址
|
||||
simplePayParam.setNotNotify(true);
|
||||
|
||||
DaxPayResult<PayOrderModel> execute = DaxPayKit.execute(simplePayParam);
|
||||
|
||||
|
Reference in New Issue
Block a user