取消显示

This commit is contained in:
2020-11-15 21:49:17 +08:00
parent fc5c7ad32b
commit b0c4e09ebf
3 changed files with 2 additions and 9 deletions

View File

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