From 5b365673b54fad6726e435066d8944cdc671181a Mon Sep 17 00:00:00 2001 From: gcd Date: Wed, 2 Jul 2025 22:07:49 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E3=80=90=E5=B0=8F=E7=A8=8B=E5=BA=8F?= =?UTF-8?q?=E3=80=91=E5=B0=8F=E7=A8=8B=E5=BA=8F=E8=B4=A6=E5=8F=B7=E5=A4=B1?= =?UTF-8?q?=E6=95=88=E6=97=B6=EF=BC=8C=E6=8A=9B=E5=87=BA=E6=8C=87=E5=AE=9A?= =?UTF-8?q?=20code?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/common/controller/WorkerApi.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/common/controller/WorkerApi.php b/application/common/controller/WorkerApi.php index e8a35c9..0e0e4e2 100644 --- a/application/common/controller/WorkerApi.php +++ b/application/common/controller/WorkerApi.php @@ -303,7 +303,7 @@ class WorkerApi extends BaseService } if ($user->status === 0) { - throw new ApiException('当前账号不可用'); + throw new ApiException('当前账号不可用', 401); } return true;