fix wxh5
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user