1
0
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:
silenceper
2020-05-25 21:55:42 +08:00
parent c89d24990c
commit b599e93c5b
9 changed files with 238 additions and 181 deletions

View File

@@ -0,0 +1,6 @@
package credential
//AccessTokenHandle AccessToken 接口
type AccessTokenHandle interface {
GetAccessToken() (accessToken string, err error)
}