feat : order list
This commit is contained in:
@@ -86,7 +86,7 @@ abstract class BaseDriverService extends BaseService
|
|||||||
{
|
{
|
||||||
parent::__construct();
|
parent::__construct();
|
||||||
|
|
||||||
$this->cycleId = $this->initTodayCycleId();
|
$this->cycleId = (int)$this->initTodayCycleId();
|
||||||
|
|
||||||
$this->adminInfo = $this->adminUserModel->getAdminInfoByBindUserId($this->userId);
|
$this->adminInfo = $this->adminUserModel->getAdminInfoByBindUserId($this->userId);
|
||||||
if ($this->adminInfo->role_id != RoleCode::DRIVER) throw new ErrException('暂无权限,请联系客服并提供相关信息绑定账号');
|
if ($this->adminInfo->role_id != RoleCode::DRIVER) throw new ErrException('暂无权限,请联系客服并提供相关信息绑定账号');
|
||||||
|
|||||||
Reference in New Issue
Block a user