ziwen 2 rokov pred
rodič
commit
52debf788f
1 zmenil súbory, kde vykonal 2 pridanie a 1 odobranie
  1. 2 1
      controllers/report.go

+ 2 - 1
controllers/report.go

@@ -393,7 +393,8 @@ func (this *ReportController) ArticleCategoryList() {
 		CategoryId:    99999,
 		MatchTypeName: "时间线",
 	}
-	list = append(list, &timeLineItem)
+
+	list = append([]*models.IndustrialToArticleCategoryRep{&timeLineItem}, list...)
 
 	resp := new(models.IndustrialToArticleCategoryListRep)
 	resp.List = list