添加订单商品判断是否是赠品
parent
ffcea60b62
commit
9fceb901a4
|
|
@ -24,6 +24,7 @@ class OrderProductResource extends JsonResource
|
|||
'vip_price' => $this->vip_price_format,
|
||||
'quantity' => $this->quantity,
|
||||
'can_after_sale' => $this->can_after_sale,
|
||||
'is_gift' => $this->isGift(),
|
||||
];
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue