mirror of
https://github.com/silenceper/wechat.git
synced 2026-11-16 05:12:03 +08:00
将获取AccessToken和jsTicket单独抽象为interface
This commit is contained in:
1 parent
c89d24990c
commit
b599e93c5b
9 files changed
+238
-181
No files matched your search
@@ -0,0 +1,6 @@
|
||||
package credential
|
||||
|
||||
//AccessTokenHandle AccessToken 接口
|
||||
type AccessTokenHandle interface {
|
||||
GetAccessToken() (accessToken string, err error)
|
||||
}
|
||||
Reference in new issue
Block a user