config.go 484 B

123456789101112131415161718192021
  1. package wxcontext
  2. import "github.com/astaxie/beego/cache"
  3. // Config for user
  4. type Config struct {
  5. AppID string
  6. AppSecret string
  7. Token string
  8. EncodingAESKey string
  9. Cache cache.Cache
  10. //mch商户平台需要的变量
  11. //证书
  12. SslCertFilePath string //证书文件的路径
  13. SslKeyFilePath string
  14. SslCertContent string //证书的内容
  15. SslKeyContent string
  16. MchID string
  17. MchAPIKey string //商户平台设置的api key
  18. }