|
@@ -37,7 +37,7 @@ func (this *ReportSelectionController) Detail() {
|
|
//uid := user.UserId
|
|
//uid := user.UserId
|
|
articleId, _ := this.GetInt("ArticleId")
|
|
articleId, _ := this.GetInt("ArticleId")
|
|
isBestNew, _ := this.GetBool("IsBestNew")
|
|
isBestNew, _ := this.GetBool("IsBestNew")
|
|
- if articleId == 0 {
|
|
|
|
|
|
+ if articleId == 0 || isBestNew {
|
|
isBestNew = true
|
|
isBestNew = true
|
|
if isBestNew {
|
|
if isBestNew {
|
|
tbdb := "cygx_report_selection"
|
|
tbdb := "cygx_report_selection"
|