6
0
Fork 0

sales_value

base
panliang 2022-07-21 11:38:13 +08:00
parent 3b6f71bdcd
commit c2fa6d7eca
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ class ProduckSkuResource extends JsonResource
return $this->buynote?->content;
}),
'growth_value' => (float) $this->growth_value,
'sales_value' => (int) $this->sales_value,
'sales_value' => (float) $this->sales_value,
'is_bargaing' => $this->isBargaing() ? true : false,
'is_pre_sale' => !!$is_pre_sale,
];