diff --git a/app/Endpoint/Api/Http/Resources/ProduckSkuResource.php b/app/Endpoint/Api/Http/Resources/ProduckSkuResource.php index 8f7f422b..f599f83a 100644 --- a/app/Endpoint/Api/Http/Resources/ProduckSkuResource.php +++ b/app/Endpoint/Api/Http/Resources/ProduckSkuResource.php @@ -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, ];