new readme

This commit is contained in:
xxjwxc
2020-11-21 14:06:10 +08:00
parent 2852b6132f
commit d1879f7517
3 changed files with 3 additions and 3 deletions

View File

@@ -58,7 +58,7 @@ db_info :
username : "root"
password : "qwer"
database : "oauth_db"
type: 0
type: 0 # database type (0:mysql , 1:sqlite , 2:mssql)
```

View File

@@ -61,7 +61,7 @@ db_info:
username : root
password : qwer
database : oauth_db
type: 0
type: 0 # 数据库类型:0:mysql , 1:sqlite , 2:mssql
```

View File

@@ -33,7 +33,7 @@ type DBInfo struct {
Username string // Username 用户名
Password string // Password 密码
Database string // Database 数据库名
Type int // 数据库类型:0:mysql 1:配置
Type int // 数据库类型: 0:mysql , 1:sqlite , 2:mssql
}
// SetMysqlDbInfo Update MySQL configuration information