改善配置模块代码~

This commit is contained in:
2025-05-20 09:01:07 +08:00
parent a66f1c69b1
commit 67573e6ac2
9 changed files with 61 additions and 102 deletions

View File

@@ -18,7 +18,7 @@ func main() {
app := echo.New()
register(app)
listenAddress := fmt.Sprintf(":%d", config.ListenPort)
listenAddress := fmt.Sprintf(":%d", config.Default.App.ListenPort)
app.Logger.Fatal(app.Start(listenAddress))
}