From 6979e30546607e388618bff5d43d95b668b40edf Mon Sep 17 00:00:00 2001 From: ctexthuang Date: Mon, 7 Apr 2025 15:38:12 +0800 Subject: [PATCH] feat : order list --- app/Service/Api/Driver/BaseDriverService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Service/Api/Driver/BaseDriverService.php b/app/Service/Api/Driver/BaseDriverService.php index 72e03ca..5d605c4 100644 --- a/app/Service/Api/Driver/BaseDriverService.php +++ b/app/Service/Api/Driver/BaseDriverService.php @@ -86,7 +86,7 @@ abstract class BaseDriverService extends BaseService { parent::__construct(); - $this->cycleId = $this->initTodayCycleId(); + $this->cycleId = (int)$this->initTodayCycleId(); $this->adminInfo = $this->adminUserModel->getAdminInfoByBindUserId($this->userId); if ($this->adminInfo->role_id != RoleCode::DRIVER) throw new ErrException('暂无权限,请联系客服并提供相关信息绑定账号');