package config

type Config struct {
	JWT    JWT    `mapstructure:"jwt" json:"jwt" yaml:"jwt"`
	System System `mapstructure:"system" json:"system" yaml:"system"`
	Mysql  Mysql  `mapstructure:"mysql" json:"mysql" yaml:"mysql"`
	Pgsql  Pgsql  `mapstructure:"pgsql" json:"pgsql" yaml:"pgsql"`
	Sqlite Sqlite `mapstructure:"sqlite" json:"sqlite" yaml:"sqlite"`
	Redis  Redis  `mapstructure:"redis" json:"redis" yaml:"redis"`
	Zap    Zap    `mapstructure:"zap" json:"zap" yaml:"zap"`

	Minio          Minio          `mapstructure:"minio" json:"minio" yaml:"minio"`
	RocketMQConfig RocketMQConfig `mapstructure:"rocket-mq" json:"rocket-mq" yaml:"rocket-mq"`
	TencentCOS     TencentCOS     `mapstructure:"tencent-cos" json:"tencent-cos" yaml:"tencent-cos"`

	MiniProgram      MiniProgram      `mapstructure:"mini-program" json:"mini-program" yaml:"mini-program"`                   //小程序
	ServiceAccount   ServiceAccount   `mapstructure:"service-account" json:"service-account" yaml:"service-account"`          //服务号
	WechatPay        WechatPay        `mapstructure:"wechat-pay" json:"wechat-pay" yaml:"wechat-pay"`                         //微信支付
	BaiduImgClassify BaiduImgClassify `mapstructure:"baidu-img-classify" json:"baidu-img-classify" yaml:"baidu-img-classify"` // 百度植物识别
}
