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