浏览代码

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

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  `