diff --git a/README.md b/README.md index 6603005..ed4064a 100644 --- a/README.md +++ b/README.md @@ -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) ``` diff --git a/README_zh_cn.md b/README_zh_cn.md index 3d00b73..13b4b22 100644 --- a/README_zh_cn.md +++ b/README_zh_cn.md @@ -61,7 +61,7 @@ db_info: username : root password : qwer database : oauth_db - type: 0 + type: 0 # 数据库类型:0:mysql , 1:sqlite , 2:mssql ``` diff --git a/data/config/MyIni.go b/data/config/MyIni.go index bf5936a..5fc6258 100644 --- a/data/config/MyIni.go +++ b/data/config/MyIni.go @@ -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