From 6cd4afc5c8cdffda0cec50cc1514437873f79b0f Mon Sep 17 00:00:00 2001 From: leexsoft-mac Date: Fri, 18 Oct 2019 20:09:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AD=97=E6=AE=B5=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- response.go | 2 +- service_auth_api.go | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/response.go b/response.go index fa1513a..bca56a8 100644 --- a/response.go +++ b/response.go @@ -48,7 +48,7 @@ type JsapiTicket struct { type SessionKey struct { OpenId string `json:"openid"` // 用户唯一标识 - SessionKey int64 `json:"session_key"` // 会话密钥 + SessionKey string `json:"session_key"` // 会话密钥 UnionId string `json:"unionid"` // 只有在用户将公众号绑定到微信开放平台帐号后,才会出现该字段。 ErrCode int `json:"errcode"` // 错误码 ErrMsg string `json:"errmsg"` // 错误信息 diff --git a/service_auth_api.go b/service_auth_api.go index 38cc764..a7079ea 100644 --- a/service_auth_api.go +++ b/service_auth_api.go @@ -1,5 +1,6 @@ /* 网页授权相关的接口。 + https://developers.weixin.qq.com/doc/offiaccount/OA_Web_Apps/Wechat_webpage_authorization.html */ package wechat -- Gitee