xingzai пре 2 година
родитељ
комит
e1614f2838
1 измењених фајлова са 0 додато и 2 уклоњено
  1. 0 2
      controllers/research.go

+ 0 - 2
controllers/research.go

@@ -159,8 +159,6 @@ func (this *ResearchController) HotList() {
 	var condition string
 	if themeType != 2 {
 		themeType = 1
-		startSize = 0
-		pageSize = 15
 		condition = `ORDER BY sum_num DESC `
 	} else {
 		condition = `ORDER BY publish_date DESC `