rdluck 4 vuotta sitten
vanhempi
commit
8c7e5c4aa6
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. 2 1
      controllers/report.go

+ 2 - 1
controllers/report.go

@@ -74,7 +74,8 @@ func (this *ReportController) Detail() {
 		msg = "您还未开通权限,如有需要请联系对口销售"
 		report.Content = report.ContentSub
 	} else {
-		if company.Status == utils.COMPANY_STATUS_LOSE || company.Status == utils.COMPANY_STATUS_FREEZE {
+		if company.Status == utils.COMPANY_STATUS_LOSE ||
+			company.Status == utils.COMPANY_STATUS_FREEZE {
 			status = 2
 			msg = "您还未开通权限,如有需要请联系对口销售"
 			report.Content = report.ContentSub