增加新的添加数据库实例的方式

This commit is contained in:
2023-04-18 20:47:57 +08:00
parent f68424bdae
commit ba8c73985c
2 changed files with 21 additions and 12 deletions

View File

@ -28,10 +28,10 @@ type DBConfig struct {
//
// Date : 14:47 2022/6/9
type cfgFile struct {
Flag string `json:"flag"` // 数据库标识
Path string `json:"path"` // 配置文件路径
Type string `json:"type"` // 配置文件类型
Config Database `json:"config"` // 解析之后的配置文件
Flag string `json:"flag"` // 数据库标识
Path string `json:"path"` // 配置文件路径
Type string `json:"type"` // 配置文件类型
Config *Database `json:"config"` // 解析之后的配置文件
}
const (