调度中心嵌入cms
This commit is contained in:
@@ -20,6 +20,7 @@ type Config struct {
|
||||
BusinessMongoDatabase string
|
||||
SchedulerMongoDatabase string
|
||||
RedisAddr string
|
||||
RedisUsername string
|
||||
RedisPassword string
|
||||
}
|
||||
|
||||
@@ -37,6 +38,7 @@ func Load() Config {
|
||||
BusinessMongoDatabase: getenv("MONGO_DATABASE", "openim_v3"),
|
||||
SchedulerMongoDatabase: getenv("SCHEDULER_MONGO_DATABASE", "scheduler_center"),
|
||||
RedisAddr: getenv("REDIS_ADDR", ""),
|
||||
RedisUsername: getenv("REDIS_USERNAME", ""),
|
||||
RedisPassword: getenv("REDIS_PASSWORD", ""),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user