You've already forked qlg.tsgz.moe
取消显示
This commit is contained in:
@ -42,13 +42,6 @@ class UserLevel extends Base
|
||||
return [
|
||||
'zgTimes'=>Db::name('orders')->where(compact('userId','goodsType'))->count(),
|
||||
'zgAmounts'=>Db::name('orders')->where(compact('userId','goodsType'))->sum('helpGetCount'),
|
||||
'zgYhYhq'=>Db::name('log_moneys')->where([
|
||||
'targetId'=>$userId,
|
||||
'remark'=>'预获产品券转换所得',
|
||||
'moneyType'=>'1',
|
||||
])->where('dataId', 'in', Db::name('orders')
|
||||
->where(compact('userId','goodsType'))->column('orderId')
|
||||
)->where('dataId', '>', 0)->sum('money'),
|
||||
];
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user