package = $package; } /** * Execute the job. * * @param OrderService $service * * @return void * @throws */ public function handle(OrderService $service) { if (!$this->package)return; if (!$this->package->weight)return; $this->package->loadMissing("order"); if (!$this->package->order)return; try { $service->reviseLogisticFee($this->package->order); }catch (\Exception $e){ $this->push(__METHOD__."->".__LINE__,"称重重置订单计费",$e->getMessage()." | ".$this->package->toJson()); throw $e; } } }