This commit is contained in:
2026-02-19 14:33:22 +08:00
parent 3090a60cf8
commit 5340b07795
9 changed files with 57 additions and 71 deletions

View File

@@ -31,6 +31,7 @@ func main() {
app.Use(gin.Recovery())
app.GET("/", restful.Ping)
app.GET("/start/strategy", restful.Starter)
app.GET("/recommend", restful.Recommend)
// 启动HTTP服务器
err := app.Run(fmt.Sprintf(":%s", config.Spec.Port))