1
0
mirror of https://github.com/silenceper/wechat.git synced 2026-02-23 13:42:25 +08:00

feat(miniapp): 小程序订阅消息

1. 用户订阅消息服务端回调处理
2. 用户订阅消息订阅通知事件推送
This commit is contained in:
stuchilde
2021-08-01 19:57:54 +08:00
parent 5d8fd1f5bd
commit c5c764dcc9
6 changed files with 307 additions and 5 deletions

View File

@@ -7,7 +7,9 @@ import (
// Config config for 小程序
type Config struct {
AppID string `json:"app_id"` // appid
AppSecret string `json:"app_secret"` // appsecret
Cache cache.Cache
AppID string `json:"app_id"` // app_id
AppSecret string `json:"app_secret"` // app_secret
Token string `json:"token"` // token
EncodingAESKey string `json:"encoding_aes_key"` // encoding_aes_key
Cache cache.Cache
}