Browse Source

no message

xingzai 2 years ago
parent
commit
036f6dc83d
1 changed files with 5 additions and 5 deletions
  1. 5 5
      controllers/report.go

+ 5 - 5
controllers/report.go

@@ -1555,11 +1555,11 @@ func (this *ReportController) Detail() {
 		br.Ret = 408
 		return
 	}
-	//if user.CompanyId != utils.HZ_COMPANY_ID {
-	//	br.Msg = "报告编辑中,请稍后"
-	//	br.IsSendEmail = false
-	//	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")