recordId = $recordId; $this->type = $type; } public function handle() { try { if ($this->type == 1) { // 号卡 (new OrdersHelper())->batchOrderSettle($this->recordId); } } catch (\Exception $e) { Log::error('自动批量结算异常:' . $e); } } }