Browse Source

no message

xingzai 2 năm trước cách đây
mục cha
commit
30c302d235
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      controllers/search.go

+ 1 - 1
controllers/search.go

@@ -637,7 +637,7 @@ func (this *SearchController) ListHomeArtAndChartPage() {
 				startSizeIk = 0
 			}
 			var pageSizeIk int
-			pageSizeIk = pageSize - len(tmpResult)
+			pageSizeIk = pageSize - len(result)
 			tmpResultIk, _, err := services.EsArticleSearch(keyWord, startSizeIk, pageSizeIk, orderColumn, 2)
 			if err != nil {
 				br.Msg = "检索失败"