From 7a103348c7b3dde5fa7d681597403f3792d147e8 Mon Sep 17 00:00:00 2001 From: Jerry Yan <792602257@qq.com> Date: Sun, 6 Dec 2020 22:57:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E5=AD=97=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hyhproject/app/controller/UserLevel.php | 1 + 1 file changed, 1 insertion(+) diff --git a/hyhproject/app/controller/UserLevel.php b/hyhproject/app/controller/UserLevel.php index 59a76f2..549a19a 100755 --- a/hyhproject/app/controller/UserLevel.php +++ b/hyhproject/app/controller/UserLevel.php @@ -45,6 +45,7 @@ class UserLevel extends Base $zgTimes = Db::name('orders')->where(compact('userId','goodsType'))->count(); $zgTimes += 1; $helpSaleNum += 1; + $helpSaleNum = number_format($helpSaleNum, 2, '.', ''); return [ 'zgTimes'=>$zgTimes, 'myZgA'=>$helpSaleNum,