From db7a855ded4ad78e9b92f072c71e3261d8f0257a Mon Sep 17 00:00:00 2001 From: wangxiaowei Date: Tue, 5 Nov 2024 10:59:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=BC=80=E6=B3=A8=E9=87=8A=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/logic/LocalStoreLogic.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/api/logic/LocalStoreLogic.php b/app/api/logic/LocalStoreLogic.php index a5b1bd6e..d678575e 100644 --- a/app/api/logic/LocalStoreLogic.php +++ b/app/api/logic/LocalStoreLogic.php @@ -861,10 +861,10 @@ class LocalStoreLogic extends Logic } return [ - 'history_total_amount' => $history_total_amount, - 'current_month_total_amount' => $current_month_total_amount, - 'last_month_total_amount' => $last_month_total_amount, - 'current_day_total_amount' => $current_day_total_amount, + 'history_total_amount' => number_format($history_total_amount, 2, '.', ''), + 'current_month_total_amount' => number_format($current_month_total_amount, 2, '.', ''), + 'last_month_total_amount' => number_format($last_month_total_amount, 2, '.', ''), + 'current_day_total_amount' => number_format($current_day_total_amount, 2, '.', ''), 'count_trade' => $count_trade, 'success_trade' => $success_trade, 'average_price' => $average_price