mirror of
https://gitee.com/dromara/dax-pay.git
synced 2025-09-06 12:39:38 +00:00
pref 通知相关地址调整, 包结构调整
This commit is contained in:
@@ -81,14 +81,14 @@ public class AliPayConfigService {
|
||||
* 生成通知地址
|
||||
*/
|
||||
public String generateNotifyUrl(){
|
||||
return platformConfigService.getConfig().getWebsiteUrl() + "/callback/pay/alipay";
|
||||
return platformConfigService.getConfig().getWebsiteUrl() + "/unipay/callback/alipay";
|
||||
}
|
||||
|
||||
/**
|
||||
* 生成同步跳转地址
|
||||
*/
|
||||
public String generateReturnUrl(){
|
||||
return platformConfigService.getConfig().getWebsiteUrl() + "/return/pay/alipay";
|
||||
return platformConfigService.getConfig().getWebsiteUrl() + "/unipay/return/alipay";
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -81,14 +81,14 @@ public class UnionPayConfigService {
|
||||
* 生成通知地址
|
||||
*/
|
||||
public String generateNotifyUrl(){
|
||||
return platformConfigService.getConfig().getWebsiteUrl() + "/callback/pay/union";
|
||||
return platformConfigService.getConfig().getWebsiteUrl() + "/unipay/callback/union";
|
||||
}
|
||||
|
||||
/**
|
||||
* 生成同步跳转地址
|
||||
*/
|
||||
public String generateReturnUrl(){
|
||||
return platformConfigService.getConfig().getWebsiteUrl() + "/return/pay/union";
|
||||
return platformConfigService.getConfig().getWebsiteUrl() + "/unipay/return/union";
|
||||
}
|
||||
|
||||
|
||||
|
@@ -78,14 +78,14 @@ public class WeChatPayConfigService {
|
||||
* 生成微信通知地址
|
||||
*/
|
||||
public String generateNotifyUrl(){
|
||||
return platformConfigService.getConfig().getWebsiteUrl() + "/callback/pay/wechat";
|
||||
return platformConfigService.getConfig().getWebsiteUrl() + "/unipay/callback/wechat";
|
||||
}
|
||||
|
||||
/**
|
||||
* 生成同步跳转地址
|
||||
*/
|
||||
public String generateReturnUrl(){
|
||||
return platformConfigService.getConfig().getWebsiteUrl() + "/return/pay/wechat";
|
||||
return platformConfigService.getConfig().getWebsiteUrl() + "/unipay/return/wechat";
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -76,7 +76,7 @@ public class RefundOrderQueryService {
|
||||
public RefundOrderResult queryRefundOrder(QueryRefundParam param) {
|
||||
// 校验参数
|
||||
if (StrUtil.isBlank(param.getRefundNo()) && Objects.isNull(param.getBizRefundNo())){
|
||||
throw new PayFailureException("退款号或=商户退款号不能都为空");
|
||||
throw new PayFailureException("退款号或商户退款号不能都为空");
|
||||
}
|
||||
// 查询退款单
|
||||
RefundOrder refundOrder = this.findByBizOrRefundNo(param.getRefundNo(), param.getBizRefundNo())
|
||||
|
Reference in New Issue
Block a user