xingzai 2 vuotta sitten
vanhempi
commit
36acc130a0
1 muutettua tiedostoa jossa 5 lisäystä ja 0 poistoa
  1. 5 0
      controllers/report.go

+ 5 - 0
controllers/report.go

@@ -1555,6 +1555,11 @@ func (this *ReportController) Detail() {
 		br.Ret = 408
 		return
 	}
+	if user.CompanyId != utils.HZ_COMPANY_ID {
+		br.Msg = "报告编辑中,请稍后"
+		br.IsSendEmail = false
+		return
+	}
 	uid := user.UserId
 	articleId, _ := this.GetInt("ArticleId")
 	isBestNew, _ := this.GetBool("IsBestNew")