Lee-WineList/config/config.go

14 lines
582 B
Go
Raw Normal View History

2023-04-24 17:19:41 +08:00
package config
var Scd systemConfigData
// 配置信息
type systemConfigData struct {
Admin appInfo `mapstructure:"admin" yaml:"admin"` // 系统配置-Admin
Api appInfo `mapstructure:"api" yaml:"api"` // 系统配置-Api
MySQL mysqlConfig `mapstructure:"mysql" yaml:"mysql"` // MySQL配置
2023-04-27 15:56:12 +08:00
Redis redisConfig `mapstructure:"redis" yaml:"redis"` // Redis配置
2023-04-24 17:19:41 +08:00
Aliyun aliyunConfig `mapstructure:"aliyun" yaml:"aliyun"` // 阿里云配置
Tencent tencentConfig `mapstructure:"tencent" yaml:"tencent"` // 腾讯相关配置
}