feat: 剔除mongodb,不集成
This commit is contained in:
@@ -4,7 +4,6 @@ type ApplicationEnvStruct struct {
|
||||
Server ServerConfig `yaml:"server"`
|
||||
DataSource DataSourceConfig `yaml:"datasource"`
|
||||
Redis RedisConfig `yaml:"redis"`
|
||||
MongoDb MongoDbConfig `yaml:"mongodb"`
|
||||
Login LoginConfig `yaml:"login"`
|
||||
Jwt JwtConfig `yaml:"jwt"`
|
||||
Logger LoggerConfig `yaml:"logger"`
|
||||
@@ -65,15 +64,6 @@ type RedisPoolConfig struct {
|
||||
MaxWait int `yaml:"max-wait"`
|
||||
}
|
||||
|
||||
// MongoDbConfig MongoDB
|
||||
type MongoDbConfig struct {
|
||||
Url string `yaml:"url"`
|
||||
Port string `yaml:"port"`
|
||||
DB string `yaml:"db"`
|
||||
Username string `yaml:"username"`
|
||||
Password string `yaml:"password"`
|
||||
}
|
||||
|
||||
// LoginConfig 登录相关
|
||||
type LoginConfig struct {
|
||||
// 是否限制单用户登录
|
||||
|
||||
@@ -30,12 +30,6 @@ redis:
|
||||
max-idle: 8
|
||||
# 连接池最大阻塞等待时间(使用负值表示没有限制)
|
||||
max-wait: 3
|
||||
mongodb:
|
||||
url:
|
||||
port:
|
||||
db:
|
||||
username:
|
||||
password:
|
||||
# 登录相关配置
|
||||
login:
|
||||
# 是否限制单用户登录
|
||||
|
||||
Reference in New Issue
Block a user