attempts() > 1) { $job->delete(); $this->failed($data); } app()->make(StoreOrderRepository::class)->setProduct($data['data'],$data['mer_id'],$data['product_type']); $job->delete(); } public function failed($data) { Log::error('导入商品失败:' . json_encode($data)); // TODO: Implement failed() method. } }