From eb91a7b9a30575bbc73e67c195a2642b9d0e00ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=9F=E5=B7=9D=E4=B8=9C?= Date: Thu, 24 Apr 2025 09:18:35 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=88=A0=E9=99=A4=E6=97=A0=E7=94=A8?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/worker/controller/Worker.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/application/worker/controller/Worker.php b/application/worker/controller/Worker.php index c33688a..3ab5b39 100644 --- a/application/worker/controller/Worker.php +++ b/application/worker/controller/Worker.php @@ -3,7 +3,6 @@ namespace app\worker\controller; use app\common\controller\WorkerApi; -use think\Request; class Worker extends WorkerApi { @@ -25,13 +24,6 @@ class Worker extends WorkerApi //存在师傅id,直接登录 if ($workerVendor['worker_id']) { $this->workerLogin($workerVendor['worker_id']); - $result = [ - 'code' => 1, - 'msg' => '成功', - 'time' => Request::instance()->server('REQUEST_TIME'), - 'data' => $this->user, - ]; - return json($result); $this->success('登录成功', $this->user); }