mirror of
https://github.com/silenceper/wechat.git
synced 2026-02-15 02:02:27 +08:00
将获取AccessToken和jsTicket单独抽象为interface
This commit is contained in:
6
credential/access_token.go
Normal file
6
credential/access_token.go
Normal file
@@ -0,0 +1,6 @@
|
||||
package credential
|
||||
|
||||
//AccessTokenHandle AccessToken 接口
|
||||
type AccessTokenHandle interface {
|
||||
GetAccessToken() (accessToken string, err error)
|
||||
}
|
||||
Reference in New Issue
Block a user