From 3b6f71bdcd22b90465e14c291e4b97402b87b856 Mon Sep 17 00:00:00 2001 From: panliang <1163816051@qq.com> Date: Thu, 21 Jul 2022 11:33:50 +0800 Subject: [PATCH] growth_value --- app/Endpoint/Api/Http/Resources/OrderProfitResource.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Endpoint/Api/Http/Resources/OrderProfitResource.php b/app/Endpoint/Api/Http/Resources/OrderProfitResource.php index 4d740505..61b662cc 100644 --- a/app/Endpoint/Api/Http/Resources/OrderProfitResource.php +++ b/app/Endpoint/Api/Http/Resources/OrderProfitResource.php @@ -24,7 +24,7 @@ class OrderProfitResource extends JsonResource 'phone' => $this->fromUser?->phone ]), - 'growth_value' => (int)$this->growth_value, + 'growth_value' => (float)$this->growth_value, 'ratio' => $this->ratio, 'money' => (int)$this->money, 'sub_money' => (int)$this->sub_money,