f
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user