package util /*func GetPage(c *gin.Context) int { result := 0 pageStr := c.Query("page") page, _ := strconv.Atoi(pageStr) if page > 0 { result = (page - 1) * setting.AppSetting.PageSize } return result } */