@ -39,7 +39,7 @@ system:
use-multipoint: false
env: 'public' # Change to "develop" to skip authentication for development mode
addr: 8888
db-type: sqlite
db-type: "mysql"
# captcha configuration
captcha:
@ -13,6 +13,8 @@ func main() {
initialize.Mysql()
case "sqlite":
initialize.Sqlite()
default:
}
initialize.DBTables()
// 程序结束前关闭数据库链接