From 3ed629e2af33eb47916af02d9c7b09f1fdb95772 Mon Sep 17 00:00:00 2001 From: chengxl Date: Sun, 28 Sep 2025 11:21:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=92=E5=BA=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/crontab/controller/Cite.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/crontab/controller/Cite.php b/application/crontab/controller/Cite.php index 4acfa15..dece34f 100644 --- a/application/crontab/controller/Cite.php +++ b/application/crontab/controller/Cite.php @@ -48,7 +48,7 @@ class Cite extends Controller //处理数据-获取通讯作者信息 ,'is_report' => 1 $aArticleId = array_column($aArticleCite, 'article_id'); $aWhere = ['article_id' => ['in',$aArticleId],'state' => 0]; - $aArticleAuthor = Db::name('article_author')->field('article_id,author_name,email')->where($aWhere)->select(); + $aArticleAuthor = Db::name('article_author')->field('article_id,author_name,email,is_report')->where($aWhere)->order('is_report desc,article_id asc')->select(); if(empty($aArticleAuthor)){ return json_encode(['status' => 1,'msg' => 'No corresponding author information found for the article','data' => []]); }