From 968cefb6ed039fc8247cc43806038dcb68a7d87f Mon Sep 17 00:00:00 2001 From: CGDF <17256673+CGDF-Github@users.noreply.github.com> Date: Tue, 26 Feb 2019 13:48:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=B4=AF=E8=AE=A1=E5=85=85?= =?UTF-8?q?=E5=80=BC=E6=98=BE=E7=A4=BA=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Models/User.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/User.php b/app/Models/User.php index ced5adbe..b984981e 100755 --- a/app/Models/User.php +++ b/app/Models/User.php @@ -354,6 +354,6 @@ class User extends Model foreach($codes as $code){ $top_up+=$code->number; } - $top_up=round($top_up,2); + return round($top_up,2); } }