Browse Source

no message

xingzai 2 years ago
parent
commit
36acc130a0
1 changed files with 5 additions and 0 deletions
  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")