From d1879f7517dd0eeb61c0729256247e0046a8b650 Mon Sep 17 00:00:00 2001 From: xxjwxc Date: Sat, 21 Nov 2020 14:06:10 +0800 Subject: [PATCH] new readme --- README.md | 2 +- README_zh_cn.md | 2 +- data/config/MyIni.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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