diff --git a/conf/config.go b/conf/config.go index 1b85507..4a26251 100644 --- a/conf/config.go +++ b/conf/config.go @@ -85,7 +85,6 @@ func SetUp1() { mysqlHost := viper.GetString("mysql.Host") jwtSecretKey := viper.GetString("jwt.SecretKey") serverPort := viper.GetInt("server.Port") - DataBase = viper.Get("database") templateGlob := viper.GetString("project.TemplateGlob") // 打印获取到的配置值