Преглед на файлове

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

xingzai преди 2 години
родител
ревизия
4a458cb4a6
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  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  `