new readme
This commit is contained in:
@@ -58,7 +58,7 @@ db_info :
|
|||||||
username : "root"
|
username : "root"
|
||||||
password : "qwer"
|
password : "qwer"
|
||||||
database : "oauth_db"
|
database : "oauth_db"
|
||||||
type: 0
|
type: 0 # database type (0:mysql , 1:sqlite , 2:mssql)
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ db_info:
|
|||||||
username : root
|
username : root
|
||||||
password : qwer
|
password : qwer
|
||||||
database : oauth_db
|
database : oauth_db
|
||||||
type: 0
|
type: 0 # 数据库类型:0:mysql , 1:sqlite , 2:mssql
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ type DBInfo struct {
|
|||||||
Username string // Username 用户名
|
Username string // Username 用户名
|
||||||
Password string // Password 密码
|
Password string // Password 密码
|
||||||
Database string // Database 数据库名
|
Database string // Database 数据库名
|
||||||
Type int // 数据库类型:0:mysql 1:配置
|
Type int // 数据库类型: 0:mysql , 1:sqlite , 2:mssql
|
||||||
}
|
}
|
||||||
|
|
||||||
// SetMysqlDbInfo Update MySQL configuration information
|
// SetMysqlDbInfo Update MySQL configuration information
|
||||||
|
|||||||
Reference in New Issue
Block a user