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