From 85cc16a8cd6ef23453f33dbeac577e425a17a8c0 Mon Sep 17 00:00:00 2001 From: chenbo <709206448@qq.com> Date: Fri, 20 Oct 2023 15:41:52 +0800 Subject: [PATCH] =?UTF-8?q?update=EF=BC=9A=E5=B0=8F=E7=BB=84=E6=9C=8D?= =?UTF-8?q?=E5=8A=A1=E5=85=AC=E5=8F=B8=E7=AE=A1=E7=90=86=E5=91=98=E5=8F=AF?= =?UTF-8?q?=E6=9F=A5=E7=9C=8B=E5=85=AC=E5=8F=B8=E6=89=80=E6=9C=89=E4=BB=BB?= =?UTF-8?q?=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/controller/TaskController.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app/api/controller/TaskController.php b/app/api/controller/TaskController.php index b165521dd..5491f14db 100644 --- a/app/api/controller/TaskController.php +++ b/app/api/controller/TaskController.php @@ -34,10 +34,11 @@ class TaskController extends BaseApiController $is_captain = User::where('id', $this->userId)->value('is_captain'); if ($is_captain == 1) { $where[] = ['type', 'in', [31,33]]; - } else { - $where[] = ['type', '=', 33]; - $where[] = ['director_uid', '=', $this->userId]; } +// else { +// $where[] = ['type', '=', 33]; +// $where[] = ['director_uid', '=', $this->userId]; +// } // $where[] = ['company_id', '=', $this->userInfo['company_id']]; }