333333
This commit is contained in:
parent
ea9079d94b
commit
33b64c6955
@ -46,8 +46,11 @@ class UserLevel extends Base
|
||||
if (!empty($helpSaleInfo)) {
|
||||
$helpSaleNum = $helpSaleInfo['helpSaleNum'];
|
||||
}
|
||||
$zgTimes = Db::name('orders')->where(compact('userId','goodsType'))->count();
|
||||
if ($zgTimes <= 0) $zgTimes = 1;
|
||||
if ($helpSaleNum <= 0) $helpSaleNum = 1;
|
||||
return [
|
||||
'zgTimes'=>Db::name('orders')->where(compact('userId','goodsType'))->count(),
|
||||
'zgTimes'=>$zgTimes,
|
||||
'myZgA'=>$helpSaleNum,
|
||||
'zgAmounts'=>$sysData['toPaySlow'],
|
||||
];
|
||||
|
Loading…
x
Reference in New Issue
Block a user