From 40a40c67a005eea57eaf510c0ad724e452e93cee Mon Sep 17 00:00:00 2001 From: chenbo <709206448@qq.com> Date: Tue, 19 Sep 2023 11:52:27 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=A1=E6=89=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/lists/approve/ApproveLists.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/api/lists/approve/ApproveLists.php b/app/api/lists/approve/ApproveLists.php index 7136f75a1..04dd54d9e 100644 --- a/app/api/lists/approve/ApproveLists.php +++ b/app/api/lists/approve/ApproveLists.php @@ -43,7 +43,7 @@ class ApproveLists extends BaseApiDataLists implements ListsSearchInterface public function lists(): array { - Approve::where($this->searchWhere) + return Approve::where($this->searchWhere) ->where($this->queryWhere()) ->limit($this->limitOffset, $this->limitLength) ->order(['id' => 'desc']) @@ -52,8 +52,6 @@ class ApproveLists extends BaseApiDataLists implements ListsSearchInterface }) ->select() ->toArray(); - dd((new Approve())->getLastSql()); - return []; }