You've already forked qlg.tsgz.moe
修改
This commit is contained in:
@ -47,6 +47,15 @@ class UserLevel extends Base
|
||||
];
|
||||
}
|
||||
|
||||
public function stats2()
|
||||
{
|
||||
$userId = get_my_id();
|
||||
$goodsType = 3;
|
||||
return [
|
||||
'zgAmounts'=>Db::name('orders')->where(compact('userId','goodsType'))->sum('helpGetCount'),
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
* TreeList
|
||||
* @throws \think\db\exception\DataNotFoundException
|
||||
|
Reference in New Issue
Block a user