From b318f3b3339e626266efef68d57783894c9a37d3 Mon Sep 17 00:00:00 2001 From: chengxl Date: Fri, 23 May 2025 10:05:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E5=BC=95=E7=94=A8=E6=96=87?= =?UTF-8?q?=E7=AB=A0=E6=89=80=E6=9C=89=E4=BD=9C=E8=80=85=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/crontab/controller/Cite.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/application/crontab/controller/Cite.php b/application/crontab/controller/Cite.php index f1f21b7..bd4f367 100644 --- a/application/crontab/controller/Cite.php +++ b/application/crontab/controller/Cite.php @@ -45,14 +45,13 @@ class Cite extends Controller } - //处理数据-获取通讯作者信息 + //处理数据-获取通讯作者信息 ,'is_report' => 1 $aArticleId = array_column($aArticleCite, 'article_id'); - $aWhere = ['article_id' => ['in',$aArticleId],'is_report' => 1]; + $aWhere = ['article_id' => ['in',$aArticleId],'state' => 0]; $aArticleAuthor = Db::name('article_author')->field('article_id,author_name,email')->where($aWhere)->select(); if(empty($aArticleAuthor)){ return json_encode(['status' => 1,'msg' => 'No corresponding author information found for the article','data' => []]); } - //处理数据-获取文章信息 $aArticleId = array_unique(array_column($aArticleCite, 'article_id')); $aWhere = ['article_id' => ['in',$aArticleId]];