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,