2024-05-30 21:37:55 +08:00
|
|
|
<?php
|
|
|
|
namespace app\api\lists;
|
|
|
|
|
|
|
|
use app\common\lists\BaseDataLists;
|
|
|
|
|
|
|
|
abstract class BaseApiDataLists extends BaseDataLists
|
|
|
|
{
|
|
|
|
protected array $userInfo = [];
|
|
|
|
protected int $userId = 0;
|
|
|
|
|
2024-07-02 14:36:27 +08:00
|
|
|
// public string $export;
|
2024-05-30 21:37:55 +08:00
|
|
|
|
|
|
|
public function __construct()
|
|
|
|
{
|
|
|
|
parent::__construct();
|
|
|
|
if (isset($this->request->userInfo) && $this->request->userInfo) {
|
|
|
|
$this->userInfo = $this->request->userInfo;
|
|
|
|
$this->userId = $this->request->userId;
|
|
|
|
}
|
2024-07-02 14:36:27 +08:00
|
|
|
// $this->export = $this->request->get('export', '');
|
2024-05-30 21:37:55 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|