From 2f97fbbac3a817d0549629da4c30c88ef74cffe6 Mon Sep 17 00:00:00 2001 From: liuzx Date: Fri, 7 Jan 2022 18:32:48 +0800 Subject: [PATCH] update --- routers/api/v1/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routers/api/v1/api.go b/routers/api/v1/api.go index 723c6b4ef..b81607c49 100755 --- a/routers/api/v1/api.go +++ b/routers/api/v1/api.go @@ -534,7 +534,7 @@ func RegisterRoutes(m *macaron.Macaron) { m.Get("/downloadAllOpenI", repo.ServeAllProjectsOpenIStatisticsFile) m.Group("/project", func() { m.Get("", repo.GetAllProjectsPeriodStatistics) - m.Post("/numVisit", repo.ProjectNumVisit) + m.Get("/numVisit", repo.ProjectNumVisit) m.Group("/:id", func() { m.Get("", repo.GetProjectLatestStatistics)