From c2a46c93a9b61e3e0a0ccaddbfbd6780208e353d Mon Sep 17 00:00:00 2001 From: mkm <727897186@qq.com> Date: Tue, 2 Jul 2024 14:36:27 +0800 Subject: [PATCH] =?UTF-8?q?feat(BaseApiDataLists):=20=E7=A7=BB=E9=99=A4?= =?UTF-8?q?=E5=B9=B6=E6=B3=A8=E9=87=8A=E6=8E=89export=E5=B1=9E=E6=80=A7?= =?UTF-8?q?=E5=8F=8A=E7=9B=B8=E5=85=B3=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/lists/BaseApiDataLists.php | 4 ++-- app/api/lists/user_sign/UserSignLists.php | 2 +- app/api/lists/user_sign_log/UserSignLogLists.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/api/lists/BaseApiDataLists.php b/app/api/lists/BaseApiDataLists.php index 38d01a3a0..5077e6d0b 100644 --- a/app/api/lists/BaseApiDataLists.php +++ b/app/api/lists/BaseApiDataLists.php @@ -8,7 +8,7 @@ abstract class BaseApiDataLists extends BaseDataLists protected array $userInfo = []; protected int $userId = 0; - public string $export; + // public string $export; public function __construct() { @@ -17,7 +17,7 @@ abstract class BaseApiDataLists extends BaseDataLists $this->userInfo = $this->request->userInfo; $this->userId = $this->request->userId; } - $this->export = $this->request->get('export', ''); + // $this->export = $this->request->get('export', ''); } diff --git a/app/api/lists/user_sign/UserSignLists.php b/app/api/lists/user_sign/UserSignLists.php index af18f8785..44e4697fb 100644 --- a/app/api/lists/user_sign/UserSignLists.php +++ b/app/api/lists/user_sign/UserSignLists.php @@ -73,7 +73,7 @@ class UserSignLists extends BaseApiDataLists implements ListsSearchInterface */ public function count(): int { - return UserLabel::where($this->searchWhere)->count(); + return UserSign::where($this->searchWhere)->count(); } } \ No newline at end of file diff --git a/app/api/lists/user_sign_log/UserSignLogLists.php b/app/api/lists/user_sign_log/UserSignLogLists.php index a5f5834da..3f7966495 100644 --- a/app/api/lists/user_sign_log/UserSignLogLists.php +++ b/app/api/lists/user_sign_log/UserSignLogLists.php @@ -72,7 +72,7 @@ class UserSignLogLists extends BaseApiDataLists implements ListsSearchInterface */ public function count(): int { - return UserLabel::where($this->searchWhere)->count(); + return UserSignLog::where($this->searchWhere)->count(); } } \ No newline at end of file