config.go 398 B

1234567891011121314
  1. package config
  2. import (
  3. "github.com/silenceper/wechat/v2/cache"
  4. )
  5. // Config config for 微信公众号
  6. type Config struct {
  7. AppID string `json:"app_id"` //appid
  8. AppSecret string `json:"app_secret"` //appsecret
  9. Token string `json:"token"` //token
  10. EncodingAESKey string `json:"encoding_aes_key"` //EncodingAESKey
  11. Cache cache.Cache
  12. }