|
@@ -48,7 +48,7 @@ func (this *ResearchController) NewList() {
|
|
|
}
|
|
|
mapHot := make(map[string]int)
|
|
|
|
|
|
- condition := ` ORDER BY publish_date DESC `
|
|
|
+ condition := ` ORDER BY sum_num DESC `
|
|
|
listHot, err := models.GetThemeHeatList(categoryinfo.PermissionName, user.UserId, condition, 0, 3)
|
|
|
if err != nil {
|
|
|
br.Msg = "获取信息失败"
|
|
@@ -160,7 +160,6 @@ func (this *ResearchController) HotList() {
|
|
|
if themeType != 2 {
|
|
|
condition = `ORDER BY sum_num DESC `
|
|
|
} else {
|
|
|
- //condition = `ORDER BY sum_num DESC `
|
|
|
condition = `ORDER BY publish_date DESC `
|
|
|
}
|
|
|
categoryinfo, err := models.GetChartPermissionById(chartPermissionId)
|