6
0
Fork 0

添加批零订单详情支付方式返回

release
vine_liutk 2022-02-14 16:43:51 +08:00
parent 123e989907
commit d8c1fe3514
1 changed files with 1 additions and 0 deletions

View File

@ -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, //是否发货人身份