|
@@ -46,7 +46,7 @@ func (this *ResearchController) NewList() {
|
|
|
}
|
|
|
mapHot := make(map[string]int)
|
|
|
|
|
|
- condition := ` ORDER BY sum_num DESC LIMIT 15 `
|
|
|
+ condition := ` ORDER BY sum_num DESC LIMIT 3 `
|
|
|
listHot, err := models.GetThemeHeatList(categoryinfo.PermissionName, user.UserId, condition)
|
|
|
if err != nil {
|
|
|
br.Msg = "获取信息失败"
|
|
@@ -180,7 +180,7 @@ func (this *ResearchController) HotList() {
|
|
|
}
|
|
|
mapHot := make(map[string]int)
|
|
|
|
|
|
- condition = ` ORDER BY sum_num DESC LIMIT 15 `
|
|
|
+ condition = ` ORDER BY sum_num DESC LIMIT 3 `
|
|
|
listHot, err := models.GetThemeHeatList(categoryinfo.PermissionName, user.UserId, condition)
|
|
|
if err != nil {
|
|
|
br.Msg = "获取信息失败"
|