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,7 @@
|
||||
package credential
|
||||
|
||||
//JsTicketHandle js ticket获取
|
||||
type JsTicketHandle interface {
|
||||
//GetTicket 获取ticket
|
||||
GetTicket(accessToken string) (ticket string, err error)
|
||||
}
|
||||
Reference in new issue
Block a user