6
0
Fork 0
panliang 2022-07-26 17:13:37 +08:00
parent 19254d084c
commit 43250b2d34
1 changed files with 2 additions and 1 deletions

View File

@ -15,7 +15,8 @@ class StoreProductResource extends JsonResource
'sell_price' => (string) $this->sell_price_format,
'vip_price' => (string) $this->vip_price_format,
'market_price' => (string) $this->market_price_format,
'amount' => (int) $this->pivot->amount
'amount' => (int) $this->pivot->amount,
'specs' => (array) $this->specs,
];
}
}