Browse Source

no message

xingzai 1 năm trước cách đây
mục cha
commit
8030104df4
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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 {