Browse Source

no message

xingzai 2 years ago
parent
commit
30c302d235
1 changed files with 1 additions and 1 deletions
  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 = "检索失败"