优化商品列表数据结构
parent
5f6cf37b51
commit
008c7ec903
|
|
@ -19,7 +19,7 @@ class ProductSkuSimpleResource extends JsonResource
|
||||||
'name' => $this->name,
|
'name' => $this->name,
|
||||||
'cover' => (string) $this->cover,
|
'cover' => (string) $this->cover,
|
||||||
'sell_price' => $this->sell_price,
|
'sell_price' => $this->sell_price,
|
||||||
'vip_price' => $this->vip_price,
|
'vip_price' => (string) $this->vip_price,
|
||||||
'sales' => $this->sales,
|
'sales' => $this->sales,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue