From fcf2ba32fc146825cbdf36f5be7528923be72fc5 Mon Sep 17 00:00:00 2001 From: jiangyong27 Date: Tue, 22 Oct 2024 17:34:18 +0800 Subject: [PATCH] delete url --- weixin/base.go | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/weixin/base.go b/weixin/base.go index a57565b..376d125 100644 --- a/weixin/base.go +++ b/weixin/base.go @@ -10,15 +10,14 @@ import ( ) const ( - code2AccessTokenUrl string = "https://api.weixin.qq.com/sns/oauth2/access_token" - accessToken2UserInfoUrl string = "https://api.weixin.qq.com/sns/userinfo" - jscode2SessionUrl string = "https://api.weixin.qq.com/sns/jscode2session" - accessTokenUrl string = "https://api.weixin.qq.com/cgi-bin/token" - userPhoneNumberUrl string = "https://api.weixin.qq.com/wxa/business/getuserphonenumber" - getWxACodeUnLimitUrl string = "https://api.weixin.qq.com/wxa/getwxacodeunlimit" - code2UserinfoUrl string = "https://api.weixin.qq.com/sns/userinfo" - oaQrCodeCreateUrl string = "https://api.weixin.qq.com/cgi-bin/qrcode/create" - userInfoByOpenid string = "https://api.weixin.qq.com/cgi-bin/user/info" + code2AccessTokenUrl string = "https://api.weixin.qq.com/sns/oauth2/access_token" + jscode2SessionUrl string = "https://api.weixin.qq.com/sns/jscode2session" + accessTokenUrl string = "https://api.weixin.qq.com/cgi-bin/token" + userPhoneNumberUrl string = "https://api.weixin.qq.com/wxa/business/getuserphonenumber" + getWxACodeUnLimitUrl string = "https://api.weixin.qq.com/wxa/getwxacodeunlimit" + code2UserinfoUrl string = "https://api.weixin.qq.com/sns/userinfo" + oaQrCodeCreateUrl string = "https://api.weixin.qq.com/cgi-bin/qrcode/create" + userInfoByOpenid string = "https://api.weixin.qq.com/cgi-bin/user/info" ) type UserInfo struct {