xingzai hace 2 años
padre
commit
5bf148853f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      controllers/report.go

+ 1 - 1
controllers/report.go

@@ -2257,7 +2257,7 @@ func (this *ReportController) SearchReport() {
 			listYx[k].IsCollect = true
 		}
 	}
-	listHz, err := models.GetReoprtSearchList(` AND a.article_id < 1000000 `+condition, user.UserId)
+	listHz, err := models.GetReoprtSearchList(` AND a.article_id < 1000000 `+condition+` OR ( article_type = 'lyjh' `+condition+`) `, user.UserId)
 	if err != nil {
 		br.Msg = "获取信息失败"
 		br.ErrMsg = "获取文章列表失败,Err:" + err.Error()