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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user