瀏覽代碼

Merge branch 'cygx_6.0' of http://8.136.199.33:3000/hongze/hongze_cygx into debug

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

+ 0 - 3
controllers/search.go

@@ -414,9 +414,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 = "获取信息失败"