数据库配置中,去除定义日志文件名称

This commit is contained in:
白茶清欢 2022-06-13 14:51:52 +08:00
parent 44f4e66110
commit a5bde3ca5b
1 changed files with 8 additions and 9 deletions

View File

@ -64,15 +64,14 @@ type Database struct {
//
// Date : 18:44 2022/5/14
type Mysql struct {
Host string `json:"host" yaml:"host"` // 数据库地址
Port int `json:"port" yaml:"port"` // 数据库端口
Username string `json:"username" yaml:"username"` // 用户名
Password string `json:"password" yaml:"password"` // 密码
Database string `json:"database" yaml:"database"` // 数据库
Charset string `json:"charset" yaml:"charset"` // 数据库编码
Connection *Connection `json:"connection" yaml:"connection"` // 连接配置
LogFileName string `json:"log_file_name" yaml:"log_file_name"` // 日志文件名
Timezone string `json:"timezone" yaml:"timezone"` // 时区
Host string `json:"host" yaml:"host"` // 数据库地址
Port int `json:"port" yaml:"port"` // 数据库端口
Username string `json:"username" yaml:"username"` // 用户名
Password string `json:"password" yaml:"password"` // 密码
Database string `json:"database" yaml:"database"` // 数据库
Charset string `json:"charset" yaml:"charset"` // 数据库编码
Connection *Connection `json:"connection" yaml:"connection"` // 连接配置
Timezone string `json:"timezone" yaml:"timezone"` // 时区
}
// Connection 连接数配置