Browse Source

Merge branch 'master' of http://8.136.199.33:3000/cxzhang/hongze_mfyx into mfyx_2.0

xingzai 1 year ago
parent
commit
f2a06d7681
1 changed files with 1 additions and 1 deletions
  1. 1 1
      controllers/report.go

+ 1 - 1
controllers/report.go

@@ -39,7 +39,7 @@ func (this *ReportController) IsShow() {
 	var resp models.IsShow
 	var condition string
 	var pars []interface{}
-	condition += ` AND  a.user_id = ?    `
+	condition += ` AND  a.user_id = ?   AND a.status  = 1  `
 	pars = append(pars, user.UserId)
 	total, err := models.GetCygxYanxuanSpecialAuthorCount(condition, pars)
 	if err != nil {