$this->id, 'order_sn' => $this->order->sn, 'order_product'=>'', 'state' => $this->state, 'type' => $this->type, 'images' => $this->images, 'description' => $this->description, 'remarks' => $this->remarks, 'created_at' => $this->created_at->toDateTimeString(), // 'logs' => AfterSaleLogResource::make($this->whenLoaded('logs')), ]; } }