findOrEmpty(); if ($staff->isEmpty()) { throw new \Exception('AI员工不存在'); } $staff = $staff->toArray(); $staff['tips'] = json_decode($staff['tips']); self::$returnData = $staff; return true; } catch (\Exception $exception) { self::setError($exception->getMessage()); return false; } } }