添加产品地址
This commit is contained in:
parent
729fdf2f9a
commit
e2dd6c6086
|
|
@ -26,6 +26,7 @@ class ProductResource extends JsonResource
|
|||
'price_formatted' => currency_format($masterSku->price),
|
||||
'active' => $this->active,
|
||||
'position' => $this->position,
|
||||
'url' => shop_route('products.show', $this->id),
|
||||
'created_at' => time_format($this->created_at),
|
||||
'deleted_at' => $this->deleted_at ? time_format($this->deleted_at) : '',
|
||||
'url_edit' => admin_route('products.edit', $this->id),
|
||||
|
|
|
|||
Loading…
Reference in New Issue