fix: 'province' & AreaInfo add parent

This commit is contained in:
Zhaolong
2022-04-28 00:19:30 +08:00
parent 09b8e8e262
commit 28c65b73c3
5 changed files with 40 additions and 38 deletions

View File

@@ -8,7 +8,7 @@ import (
func statisticRouter(router *gin.RouterGroup) {
statisticsRouter := router.Group("/statistics")
{
statisticsRouter.GET("/provience/:sort", handler.ProvinceDataHandler)
statisticsRouter.GET("/province/:sort", handler.ProvinceDataHandler)
statisticsRouter.GET("/city/:sort", handler.CityDataHandler)
statisticsRouter.GET("/country/child", handler.CountryDataHandler)
statisticsRouter.GET("/country", handler.CountryDataHandler)