This commit is contained in:
fallen-angle
2022-04-30 11:32:04 +08:00
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)
}