From ad64111e3b3623c15cbed8cc385f3a92193a5edf Mon Sep 17 00:00:00 2001 From: chengxl Date: Mon, 9 Jun 2025 11:06:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E4=BD=9C=E8=80=85=E8=BF=87?= =?UTF-8?q?=E6=BB=A4=E9=82=AE=E7=AE=B1=E4=B8=BA=E7=A9=BA=E7=9A=84=E6=95=B0?= =?UTF-8?q?=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/wechat/controller/Article.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/wechat/controller/Article.php b/application/wechat/controller/Article.php index 9578061..8b36736 100644 --- a/application/wechat/controller/Article.php +++ b/application/wechat/controller/Article.php @@ -219,7 +219,7 @@ class Article extends Controller //获取文章的作者 array_push($aRelatedId, $iArticleId); - $aWhere = ['article_id' => ['in',$aRelatedId],'state' => 0]; + $aWhere = ['article_id' => ['in',$aRelatedId],'state' => 0,'email' => ['<>','']]; $aAuthor = Db::name('article_author')->field('article_id,author_name,article_author_id,first_name,last_name,email')->where($aWhere)->order('article_id asc')->select(); //获取期刊信息