$this->order_no, 'amount' => $this->amount, 'freight' => $this->freight, 'total' => $this->total, 'state' => [ 'value' => $this->state, 'text' => $this->state_text, ], 'can' => $this->getCanAction(), 'items' => OrderItemResource::collection($this->items), 'area_code' => new AreaCodeVerifyResource($this->areaCode), 'remark' => (string) $this->remark, 'created_at' => (string) $this->created_at, ]; } }