feat: 删除无用代码

This commit is contained in:
苟川东 2025-04-24 09:18:35 +08:00
parent 7431a96291
commit eb91a7b9a3

View File

@ -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);
}