feat(BaseApiDataLists): 移除并注释掉export属性及相关代码

This commit is contained in:
mkm 2024-07-02 14:36:27 +08:00
parent 6347ee4f25
commit c2a46c93a9
3 changed files with 4 additions and 4 deletions

View File

@ -8,7 +8,7 @@ abstract class BaseApiDataLists extends BaseDataLists
protected array $userInfo = []; protected array $userInfo = [];
protected int $userId = 0; protected int $userId = 0;
public string $export; // public string $export;
public function __construct() public function __construct()
{ {
@ -17,7 +17,7 @@ abstract class BaseApiDataLists extends BaseDataLists
$this->userInfo = $this->request->userInfo; $this->userInfo = $this->request->userInfo;
$this->userId = $this->request->userId; $this->userId = $this->request->userId;
} }
$this->export = $this->request->get('export', ''); // $this->export = $this->request->get('export', '');
} }

View File

@ -73,7 +73,7 @@ class UserSignLists extends BaseApiDataLists implements ListsSearchInterface
*/ */
public function count(): int public function count(): int
{ {
return UserLabel::where($this->searchWhere)->count(); return UserSign::where($this->searchWhere)->count();
} }
} }

View File

@ -72,7 +72,7 @@ class UserSignLogLists extends BaseApiDataLists implements ListsSearchInterface
*/ */
public function count(): int public function count(): int
{ {
return UserLabel::where($this->searchWhere)->count(); return UserSignLog::where($this->searchWhere)->count();
} }
} }