mirror of
https://github.com/silenceper/wechat.git
synced 2026-02-04 12:52:27 +08:00
将小程序获取ak的方式也抽象出来
This commit is contained in:
@@ -15,6 +15,8 @@ const (
|
||||
accessTokenURL = "https://api.weixin.qq.com/cgi-bin/token"
|
||||
//CacheKeyOfficialAccountPrefix 微信公众号cache key前缀
|
||||
CacheKeyOfficialAccountPrefix = "gowechat_officialaccount_"
|
||||
//CacheKeyMiniProgramPrefix 小程序cache key前缀
|
||||
CacheKeyMiniProgramPrefix = "gowechat_miniprogram_"
|
||||
)
|
||||
|
||||
//DefaultAccessToken 默认AccessToken 获取
|
||||
|
||||
Reference in New Issue
Block a user