From 8319777d3e48b04370ba78d0e44e6f4bad696300 Mon Sep 17 00:00:00 2001 From: chengxl Date: Wed, 4 Feb 2026 17:55:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A4=E6=96=AD=E6=98=AF=E5=90=A6=E6=98=AF?= =?UTF-8?q?=E8=8D=89=E7=A8=BF=E7=AE=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/api/controller/Article.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/application/api/controller/Article.php b/application/api/controller/Article.php index 91d7bce..d00c0b6 100644 --- a/application/api/controller/Article.php +++ b/application/api/controller/Article.php @@ -591,6 +591,14 @@ class Article extends Base } } //查询终审意见 chengxiaoling 20250828 end + //新增是否是草稿删除 20260204 start + if(!empty($article_res)){ + $article_res['is_draft'] = 2; + if(!empty($article_res['accept_sn']) && substr($article_res['accept_sn'], 0, 5) === 'Draft'){ + $article_res['is_draft'] = 1; + } + } + //新增是否是草稿删除 20260204 end return json(['article' => $article_res, 'msg' => $article_msg, 'authors' => $author_res, 'suggest' => $suggest, 'transfer' => $transfer_res, 'transinfo' => $transfer_info, "major" => $major,'suggest_final' => $aFinal]); }