Browse Source

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

xingzai 2 years ago
parent
commit
1c50a2213d
1 changed files with 0 additions and 3 deletions
  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 = "获取信息失败"