1
0
mirror of https://github.com/silenceper/wechat.git synced 2026-02-07 14:12:27 +08:00

add: 自定义获取 access token 方法

This commit is contained in:
zdpdpdp
2019-05-21 13:03:07 +08:00
parent 81f26cd6dc
commit 9a4d41563e
2 changed files with 5 additions and 4 deletions

View File

@@ -28,8 +28,8 @@ type Context struct {
//jsAPITicket 读写锁 同一个AppID一个
jsAPITicketLock *sync.RWMutex
//自定义获取 access token 的方法
accessTokenFunc CustomGetAccessToken
//accessTokenFunc 自定义获取 access token 的方法
accessTokenFunc GetAccessTokenFunc
}
// Query returns the keyed url query value if it exists