This commit is contained in:
Leufolium 2024-05-24 03:34:20 +08:00
parent 8686d6822f
commit 65ae43f8a5
1 changed files with 22 additions and 21 deletions

View File

@ -3,6 +3,7 @@ package conf
import "service/library/configcenter" import "service/library/configcenter"
type ConfigSt struct { type ConfigSt struct {
*configcenter.DefaultConfig `yaml:",inline"` // default
MixMongo *configcenter.MongoConfig `json:"mix_mongo" yaml:"mix_mongo"` // mix mongo MixMongo *configcenter.MongoConfig `json:"mix_mongo" yaml:"mix_mongo"` // mix mongo
MixMysql *configcenter.MysqlConfig `json:"mix_mysql" yaml:"mix_mysql"` // mix mysql MixMysql *configcenter.MysqlConfig `json:"mix_mysql" yaml:"mix_mysql"` // mix mysql
Crypto *configcenter.CryptoConfig `json:"crypto" yaml:"crypto"` // 账号相关加密 Crypto *configcenter.CryptoConfig `json:"crypto" yaml:"crypto"` // 账号相关加密