2222
This commit is contained in:
parent
0a13418fd4
commit
15a9db8e6e
@ -43,8 +43,8 @@ class UserLevel extends Base
|
||||
$sysData= $sm->getInfo('toPaySlow');
|
||||
$helpSaleNum = Db::name('orders')->where(compact('userId','goodsType'))->where('payable', '>',0)->sum('payable');
|
||||
$zgTimes = Db::name('orders')->where(compact('userId','goodsType'))->count();
|
||||
if ($zgTimes <= 0) $zgTimes = 1;
|
||||
if ($helpSaleNum <= 0) $helpSaleNum = 1;
|
||||
$zgTimes += 1;
|
||||
$helpSaleNum += 1;
|
||||
return [
|
||||
'zgTimes'=>$zgTimes,
|
||||
'myZgA'=>$helpSaleNum,
|
||||
|
Loading…
x
Reference in New Issue
Block a user