diff --git a/beike/Models/Order.php b/beike/Models/Order.php index f0ecefc2..8d0c4ad9 100644 --- a/beike/Models/Order.php +++ b/beike/Models/Order.php @@ -49,6 +49,6 @@ class Order extends Base public function getTotalFormatAttribute() { - return currency_format($this->total); + return currency_format($this->total, $this->currency_code, $this->currency_value); } }