|
@@ -72,7 +72,7 @@ func main() {
|
|
router.Use(middleware.Cors()) // 解决cors
|
|
router.Use(middleware.Cors()) // 解决cors
|
|
api1 := router.Group(infra.ApplicationYaml.Web.RoutePrefix)
|
|
api1 := router.Group(infra.ApplicationYaml.Web.RoutePrefix)
|
|
api1.POST("/start-project", handler.StartProject)
|
|
api1.POST("/start-project", handler.StartProject)
|
|
- api2 := router.Group("/simulation/resource/scheduler")
|
|
|
|
|
|
+ api2 := router.Group("/simulation/resource/scheduler/task")
|
|
api2.GET("/confirm", handler.Confirm)
|
|
api2.GET("/confirm", handler.Confirm)
|
|
api2.GET("/tick", handler.Tick)
|
|
api2.GET("/tick", handler.Tick)
|
|
api2.GET("/state", handler.State)
|
|
api2.GET("/state", handler.State)
|