mirror of
https://github.com/silenceper/wechat.git
synced 2026-02-04 21:02:25 +08:00
* 小程序消息推送 * fix lint errors * fix lint * fix lint * fix lint, * 简化写法 * fix 简化写法 * fix name in comments * add events * change GoodsInfo type * change statements to 50 * 追加xml支持 * fix cl lint
18 lines
558 B
Go
18 lines
558 B
Go
// Package config 小程序 config 配置
|
|
package config
|
|
|
|
import (
|
|
"github.com/silenceper/wechat/v2/cache"
|
|
)
|
|
|
|
// Config .config for 小程序
|
|
type Config struct {
|
|
AppID string `json:"app_id"` // appid
|
|
AppSecret string `json:"app_secret"` // appSecret
|
|
AppKey string `json:"app_key"` // appKey
|
|
OfferID string `json:"offer_id"` // offerId
|
|
Token string `json:"token"` // token
|
|
EncodingAESKey string `json:"encoding_aes_key"` // EncodingAESKey
|
|
Cache cache.Cache
|
|
}
|