feat: 微信h5支付fix

This commit is contained in:
wolter 2025-07-18 18:49:12 +08:00
parent 79cc31ee71
commit f5b70d1ce9
1 changed files with 1 additions and 0 deletions

View File

@ -96,6 +96,7 @@ func PayChannelList(c *gin.Context) {
// 获取付款链接,返回付款模板 // 获取付款链接,返回付款模板
func GetPayLink(c *gin.Context) { func GetPayLink(c *gin.Context) {
req, _ := controllers.GetRequest(c).(*front.GetPayLinkRequest) req, _ := controllers.GetRequest(c).(*front.GetPayLinkRequest)
req.ClientIp = c.ClientIP()
result, message, code := thirdpay.GetPayLinkService(*req) result, message, code := thirdpay.GetPayLinkService(*req)
if message == "" { if message == "" {