代慢赋值显示

This commit is contained in:
Jerry Yan 2020-11-17 19:58:26 +08:00
parent b0c4e09ebf
commit a9ececba5e

View File

@ -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'],
];
}