logistic_number = $logistic_number; } /** * Execute the job. * * @return void */ public function handle() { // ini_set('max_execution_time', 10); $this->logisticYDService = app('LogisticYDService'); $this->logisticYDService->registerApi($this->logistic_number); $nativeResponse = $this->logisticYDService->query($this->logistic_number); $formattedData = $this->logisticYDService->format($nativeResponse); $this->orderPackageReceivedSyncService = app('OrderPackageReceivedSyncService'); $this->orderPackageReceivedSyncService->update($formattedData); } }