feat(main): fix url

This commit is contained in:
liangzai 2025-02-18 17:35:00 +08:00
parent 6a5eab11ea
commit 8c03607293

View File

@ -63,8 +63,8 @@ func (a *AliPayService) CreateAlipayH5Order(amount float64, subject string, outT
var returnURL string var returnURL string
var notifyURL string var notifyURL string
if brand == "tyc" { if brand == "tyc" {
returnURL = "https://www.tianyuancha.com/report" returnURL = "https://www.tianyuancha.cn/report"
notifyURL = "https://www.tianyuancha.com/api/v1/pay/wechat/callback" notifyURL = "https://www.tianyuancha.cn/api/v1/pay/wechat/callback"
} else { } else {
returnURL = a.config.ReturnURL returnURL = a.config.ReturnURL
notifyURL = a.config.NotifyUrl notifyURL = a.config.NotifyUrl