2023-12-21 22:17:40 +08:00
|
|
|
package conf
|
|
|
|
|
|
|
|
import "service/library/configcenter"
|
|
|
|
|
|
|
|
type ConfigSt struct {
|
2024-05-15 19:09:45 +08:00
|
|
|
*configcenter.DefaultConfig `yaml:",inline"` // default
|
2024-05-14 09:48:34 +08:00
|
|
|
MixMongo *configcenter.MongoConfig `json:"mix_mongo" yaml:"mix_mongo"` // mix mongo
|
|
|
|
MixMysql *configcenter.MysqlConfig `json:"mix_mysql" yaml:"mix_mysql"` // mix mysql
|
|
|
|
Crypto *configcenter.CryptoConfig `json:"crypto" yaml:"crypto"` // 账号相关加密
|
|
|
|
Wxpay *configcenter.WxpayClientConfig `json:"wxpay" yaml:"wxpay"` // 微信支付
|
|
|
|
WxpayTFZ *configcenter.WxpayClientConfig `json:"wxpay_tfz" yaml:"wxpay_tfz"` // 微信支付
|
|
|
|
Alipay *configcenter.AlipayClientConfig `json:"alipay" yaml:"alipay"` // 支付宝 心意到了
|
|
|
|
AlipayMYTS *configcenter.AlipayClientConfig `json:"alipay_myts" yaml:"alipay_myts"` // 支付宝 觅缘天使
|
|
|
|
Apollo *configcenter.ApolloConfig `json:"apollo" yaml:"apollo"` // Apollo
|
|
|
|
Media *configcenter.MediaConfig `json:"media" yaml:"media"` // 媒体配置
|
|
|
|
Dysmsapi *configcenter.DysmsapiConfig `json:"dysmsapi" yaml:"dysmsapi"` // 阿里云短信服务
|
|
|
|
ImageAudit *configcenter.ImageAuditConfig `json:"imageaudit" yaml:"imageaudit"` // 图片内容审核服务
|
|
|
|
RedisConfig *configcenter.RedisConfig `json:"redis" yaml:"redis"` // redis
|
|
|
|
ServerInfo *configcenter.ServerInfoConfig `json:"server_info" yaml:"server_info"` // 服务器信息
|
|
|
|
TextAudit *configcenter.TextAuditConfig `json:"textaudit" yaml:"textaudit"` // 文字内容审核服务
|
|
|
|
XxlJob *configcenter.XxlJobConfig `json:"xxl_job" yaml:"xxl_job"` // xxl-job作业系统
|
|
|
|
DingTalkRobot *configcenter.DingTalkRobotConfig `json:"ding_talk_robot" yaml:"ding_talk_robot"` // 钉钉机器人
|
|
|
|
VideoModeration *configcenter.VideoModerationConfig `json:"video_moderation" yaml:"video_moderation"` // 视频审核
|
|
|
|
ElasticSearch *configcenter.ElasticSearchConfig `json:"elastic_search" yaml:"elastic_search"` // es
|
|
|
|
SD *configcenter.ConsulServiceDiscovery `json:"sd" yaml:"sd"`
|
2023-12-21 22:17:40 +08:00
|
|
|
}
|