feat: 微信支付fix1

This commit is contained in:
wolter 2024-12-06 16:02:22 +08:00
parent 7588991d54
commit 5c32d74165
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ import (
func GetWxAuthUrl(param front.GetWxAuthUrlRequest) (targetUrl string, code int) { func GetWxAuthUrl(param front.GetWxAuthUrlRequest) (targetUrl string, code int) {
var ( var (
// 重定向地址 // 重定向地址
redirectUri = config.GetConf().PayService.Host + common.FRONT_V1 + "/wx/getOpenId" redirectUri = config.GetConf().PayService.Host + common.FRONT_V1 + "/wx/getWxAuth"
) )
baseUrl := "https://open.weixin.qq.com/connect/oauth2/authorize" baseUrl := "https://open.weixin.qq.com/connect/oauth2/authorize"