From dc8660d4e01a7c426cfe8d0a35afd0e5731fa0ef Mon Sep 17 00:00:00 2001 From: chengxl Date: Wed, 15 Oct 2025 09:21:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=A1=E5=AF=B9=E7=8A=B6=E6=80=81=E6=95=B0?= =?UTF-8?q?=E9=87=8F=E7=BB=9F=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/api/controller/Proofread.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/api/controller/Proofread.php b/application/api/controller/Proofread.php index b419599..04e1453 100644 --- a/application/api/controller/Proofread.php +++ b/application/api/controller/Proofread.php @@ -324,7 +324,7 @@ class Proofread extends Base } Db::commit(); //查询未执行的数量 - $aCount = json_decode($this->getCountByState(['article_id' => $iArticleId,'state' => 2,'am_id' => $iAmId]),true); + $aCount = json_decode($this->getCountByState(['article_id' => $iArticleId,'am_id' => $iAmId]),true); $aCount = empty($aCount['data']) ? [] : $aCount['data']; //返回结果 @@ -502,7 +502,7 @@ class Proofread extends Base return json_encode(['status' => 1,'msg' => "Update successful"]); } - + /** * @title 根据状态统计数量 * @param article_id 文章ID