6
0
Fork 0
release
李静 2022-03-25 12:49:29 +08:00
parent 4082740b1c
commit 94fbe33635
1 changed files with 2 additions and 0 deletions

View File

@ -18,6 +18,8 @@ class OrderSimpleResource extends JsonResource
'id' => $this->id,
'sn' =>$this->sn,
'total_amount' => $this->total_amount,
'paied_time' => $this->paied_time?->toDateTimeString(),
'shippinged_time' => $this->shippinged_time?->toDateTimeString(),
'created_at' => $this->created_at->toDateTimeString(),
'status' => $this->status,
'is_consignor' => $request->user()->id == $this->consignor_id, //是否发货人身份