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