添加批零订单详情支付方式返回
parent
123e989907
commit
d8c1fe3514
|
|
@ -21,6 +21,7 @@ class OrderResource extends JsonResource
|
|||
'total_amount' => $this->total_amount,
|
||||
'created_at' => $this->created_at->toDateTimeString(),
|
||||
'status' => $this->status,
|
||||
'pay_way' => $this->pay_way ?? '',
|
||||
'pay_info' => $this->getConsignorPayInfo(),
|
||||
'pay_image'=> $this->pay_image,
|
||||
'is_consignor' => $request->user()->id == $this->consignor_id, //是否发货人身份
|
||||
|
|
|
|||
Loading…
Reference in New Issue