Browse Source

Merge branch 'bzq/dev' of eta_mini/eta_mini_bridge into master

鲍自强 9 months ago
parent
commit
b6883d4020
1 changed files with 1 additions and 1 deletions
  1. 1 1
      controllers/report.go

+ 1 - 1
controllers/report.go

@@ -179,7 +179,7 @@ func (this *ReportController) Detail() {
 	}
 	// 有效期是否到期
 	var vailStatus int
-	if user.Status == utils.UserStatusFormal {
+	if user.Status == utils.UserStatusFormal || user.Status == utils.UserStatusNo {
 		if user.ValidEndTime.After(time.Now()) && user.ValidStartTime.Before(time.Now()) {
 			vailStatus = 2
 		} else {