查询作者过滤邮箱为空的数据

This commit is contained in:
chengxl
2025-06-09 11:06:11 +08:00
parent 6da6707b00
commit ad64111e3b

View File

@@ -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();
//获取期刊信息