Merge branch 'main' into pr-migrate

pull/147/head
alimy 2 years ago
commit 1d1e005159

@ -453,7 +453,7 @@ func GetUserRechargeLink(c *gin.Context) {
p.OutTradeNo = fmt.Sprintf("%d", recharge.ID)
p.Subject = "PaoPao用户钱包充值"
p.TotalAmount = fmt.Sprintf("%.2f", float64(recharge.Amount)/100.0)
p.NotifyURL = "https://" + c.Request.Host + "/alipay/notify"
p.NotifyURL = "https://" + c.Request.Host + "/v1/alipay/notify"
rsp, err := client.TradePreCreate(p)
if err != nil {

Loading…
Cancel
Save