Browse Source

no message

zhangchuanxing 2 months ago
parent
commit
059161410c
1 changed files with 8 additions and 0 deletions
  1. 8 0
      controllers/report.go

+ 8 - 0
controllers/report.go

@@ -951,12 +951,20 @@ func (this *MobileReportController) SearchReport() {
 				item.IsCollect = true
 			}
 			item.Resource = 2
+			item.ResourceObj = "articlespecial"
 		} else {
 			if v.ReportId > 0 {
 				item.Resource = 3
 				item.ReportId = v.ReportId
+				item.ResourceObj = "articleficc"
 			} else {
 				item.Resource = 1
+				if v.ArticleTypeId > 0 {
+					item.ResourceObj = "articlevmp"
+				} else {
+					item.ResourceObj = "articleyx"
+				}
+
 			}
 		}
 		resp.ListHz = append(resp.ListHz, &item)