Ver Fonte

报告精选详情调最新的一篇

xingzai há 2 anos atrás
pai
commit
4a458cb4a6
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      controllers/report_selection.go

+ 1 - 0
controllers/report_selection.go

@@ -36,6 +36,7 @@ func (this *ReportSelectionController) Detail() {
 	uid := user.UserId
 	articleId, _ := this.GetInt("ArticleId")
 	isBestNew, _ := this.GetBool("IsBestNew")
+	isBestNew = true
 	if isBestNew {
 		tbdb := "cygx_report_selection"
 		condition := ` AND publish_status = 1  `