添加默认通知地址
This commit is contained in:
parent
59d22699d5
commit
b11d812069
@ -44,7 +44,7 @@ public class MiniappPayAppController {
|
|||||||
payPlaceOrder.setDescription("测试商品");
|
payPlaceOrder.setDescription("测试商品");
|
||||||
payPlaceOrder.setOutTradeNo(atomicOrder);
|
payPlaceOrder.setOutTradeNo(atomicOrder);
|
||||||
payPlaceOrder.setTimeExpire(DateTime.now().plusMinutes(1).toString(DateTimeFormat.forPattern(ISystemConstant.DATE_YYYY_MM_DD_T_HH_MM_SS_TIMEZONE)));
|
payPlaceOrder.setTimeExpire(DateTime.now().plusMinutes(1).toString(DateTimeFormat.forPattern(ISystemConstant.DATE_YYYY_MM_DD_T_HH_MM_SS_TIMEZONE)));
|
||||||
payPlaceOrder.setNotifyUrl("https://wg.wgink.ink/study/wechat/pay/notice");
|
payPlaceOrder.setNotifyUrl("https://wg.wgink.ink/study");
|
||||||
|
|
||||||
PayPlaceOrder.Amount amount = new PayPlaceOrder.Amount();
|
PayPlaceOrder.Amount amount = new PayPlaceOrder.Amount();
|
||||||
amount.setTotal(1);
|
amount.setTotal(1);
|
||||||
|
@ -110,7 +110,7 @@ public class PayPlaceOrder {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void setNotifyUrl(String notifyUrl) {
|
public void setNotifyUrl(String notifyUrl) {
|
||||||
this.notifyUrl = notifyUrl;
|
this.notifyUrl = notifyUrl + "/wechat/pay/notice";
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getGoodsTag() {
|
public String getGoodsTag() {
|
||||||
|
Loading…
Reference in New Issue
Block a user