feat: 微信h5支付fix
This commit is contained in:
parent
79cc31ee71
commit
f5b70d1ce9
|
@ -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 == "" {
|
||||||
|
|
Loading…
Reference in New Issue