From a9ececba5eb697f2403364c3797c2e4f2418b366 Mon Sep 17 00:00:00 2001 From: Jerry Yan <792602257@qq.com> Date: Tue, 17 Nov 2020 19:58:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E6=85=A2=E8=B5=8B=E5=80=BC=E6=98=BE?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hyhproject/app/controller/UserLevel.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hyhproject/app/controller/UserLevel.php b/hyhproject/app/controller/UserLevel.php index b6ed409..f9fc6d4 100755 --- a/hyhproject/app/controller/UserLevel.php +++ b/hyhproject/app/controller/UserLevel.php @@ -39,9 +39,11 @@ class UserLevel extends Base { $userId = get_my_id(); $goodsType = 3; + $sm = Model('common/SysSummary'); + $sysData= $sm->getInfo('toPaySlow'); return [ 'zgTimes'=>Db::name('orders')->where(compact('userId','goodsType'))->count(), - 'zgAmounts'=>Db::name('orders')->where(compact('userId','goodsType'))->sum('helpGetCount'), + 'zgAmounts'=>$sysData['toPaySlow'], ]; }