Parcourir la source

我的收藏分页类型错误

xingzai il y a 2 ans
Parent
commit
daa545838d
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      controllers/chart.go

+ 1 - 1
controllers/chart.go

@@ -71,7 +71,7 @@ func (this *ChartController) Collection() {
 		currentIndex = 1
 		pageSize = 0
 	}
-	list, err, total := services.GetChartCollectionByApi(mobile, (currentIndex-1)*pageSize, pageSize)
+	list, err, total := services.GetChartCollectionByApi(mobile, pageSize, (currentIndex-1)*pageSize)
 	if err != nil {
 		br.Msg = "获取图表分类失败!"
 		br.ErrMsg = "获取图表分类失败"