feat: article: finish base functions

This commit is contained in:
fallen-angle
2022-02-15 16:49:32 +08:00
parent 72ef5c92c4
commit be5def58fd
13 changed files with 245 additions and 37 deletions

View File

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