将小程序获取ak的方式也抽象出来

This commit is contained in:
silenceper committed 2020-05-25 22:00:51 +08:00
1 parent b599e93c5b
commit 972dec0406
5 files changed
+15 -104

No files matched your search

+2
View File
@@ -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 获取