瀏覽代碼

no message

xingzai 2 年之前
父節點
當前提交
dce79d4297
共有 1 個文件被更改,包括 0 次插入3 次删除
  1. 0 3
      controllers/search.go

+ 0 - 3
controllers/search.go

@@ -407,9 +407,6 @@ func (this *SearchController) ListHomeArtAndChart() {
 	if listType == 1 || listType == 3 {
 		if currentIndex <= 2 {
 			condition = ` AND title LIKE '%` + keyWord + `%'`
-			if listType == 1 {
-				pageSize = 100
-			}
 			chartList, err = models.GetChartList(condition, pars, startSize, pageSize)
 			if err != nil {
 				br.Msg = "获取信息失败"