fix wxh5
This commit is contained in:
parent
db8e6a930d
commit
76dbd0f77e
@ -41,7 +41,7 @@ Alipay:
|
||||
NotifyUrl: "https://www.quannengcha.com/api/v1/pay/alipay/callback"
|
||||
ReturnURL: "https://www.quannengcha.com/payment/result"
|
||||
Wxpay:
|
||||
AppID: "wxba8424db4771cc18"
|
||||
AppID: "wx442ee1ac1ee75917"
|
||||
MchID: "1682635136"
|
||||
MchCertificateSerialNumber: "5369B8AEEBDCF7AF274510252E6A8C0659C30F61"
|
||||
MchApiv3Key: "e3ea4cf0765f1e71b01bb387dfcdbc9f"
|
||||
|
@ -108,8 +108,8 @@ type AccessTokenResp struct {
|
||||
|
||||
// GetAccessToken 通过code获取access_token
|
||||
func GetAccessToken(code string) (*AccessTokenResp, error) {
|
||||
appID := "wxa581992dc74d860e"
|
||||
appSecret := "cfca484cf8cebcccb1f16fbaf1d9fe2c"
|
||||
appID := "wxba8424db4771cc18"
|
||||
appSecret := "c80474909db42f63913b7a307b3bee17"
|
||||
|
||||
url := fmt.Sprintf("https://api.weixin.qq.com/sns/oauth2/access_token?appid=%s&secret=%s&code=%s&grant_type=authorization_code", appID, appSecret, code)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user