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

@@ -17,7 +17,7 @@ import (
// @Param sort path string false "data sorted by" Enums(today, total, now, default)
func ProvinceDataHandler(c *gin.Context) {
sort := c.Param("sort")
data := service.GetAllProvienceData(sort)
data := service.GetAllProvinceData(sort)
utils.Succ(c, data)
}