更新支付通知 URL,修改为 "/shop/notify",以提高系统内部支付通知的路由清晰度。
This commit is contained in:
@@ -46,7 +46,7 @@ func (c *GenLink) GenShopLink() {
|
||||
OrderNo: xid.New().String(),
|
||||
OrderPrice: showMMValue,
|
||||
OrderPeriod: 24,
|
||||
NotifyUrl: fmt.Sprintf("%s/notify/order", config.GetShopAddr()),
|
||||
NotifyUrl: fmt.Sprintf("%s/shop/notify", config.GetShopAddr()),
|
||||
Timestamp: time.Now().Unix(),
|
||||
ProductCode: productCode,
|
||||
}, u.MerchantSecret)
|
||||
|
||||
Reference in New Issue
Block a user