代慢赋值显示
This commit is contained in:
parent
b0c4e09ebf
commit
a9ececba5e
@ -39,9 +39,11 @@ class UserLevel extends Base
|
|||||||
{
|
{
|
||||||
$userId = get_my_id();
|
$userId = get_my_id();
|
||||||
$goodsType = 3;
|
$goodsType = 3;
|
||||||
|
$sm = Model('common/SysSummary');
|
||||||
|
$sysData= $sm->getInfo('toPaySlow');
|
||||||
return [
|
return [
|
||||||
'zgTimes'=>Db::name('orders')->where(compact('userId','goodsType'))->count(),
|
'zgTimes'=>Db::name('orders')->where(compact('userId','goodsType'))->count(),
|
||||||
'zgAmounts'=>Db::name('orders')->where(compact('userId','goodsType'))->sum('helpGetCount'),
|
'zgAmounts'=>$sysData['toPaySlow'],
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user