feat 客户系统通知联调, 修复手动发起退款上下文未进行初始化的问题, 其他一些小问题修复

This commit is contained in:
bootx
2024-02-25 21:54:14 +08:00
parent f26806816b
commit 536d3c6191
34 changed files with 348 additions and 225 deletions

View File

@@ -49,7 +49,7 @@ public class ClientNoticeReceiveController {
return "SUCCESS";
}
@Operation(summary = "退款消息()")
@Operation(summary = "退款消息(对象)")
@PostMapping("/refundObject")
public String refund(@RequestBody RefundNoticeModel map) {
log.info("接收到退款回调消息: {}",map);

View File

@@ -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);