mirror of
https://github.com/v2board/v2board.git
synced 2025-01-31 02:29:14 +08:00
update
This commit is contained in:
parent
2abdd2b290
commit
254fe76e80
@ -32,14 +32,14 @@ class InviteController extends Controller
|
|||||||
}
|
}
|
||||||
$stat = [
|
$stat = [
|
||||||
//已注册用户数
|
//已注册用户数
|
||||||
User::where('invite_user_id', $request->session()->get('id'))->count(),
|
(int)User::where('invite_user_id', $request->session()->get('id'))->count(),
|
||||||
//有效的佣金
|
//有效的佣金
|
||||||
Order::where('status', 3)
|
(int)Order::where('status', 3)
|
||||||
->where('commission_status', 1)
|
->where('commission_status', 1)
|
||||||
->where('invite_user_id', $request->session()->get('id'))
|
->where('invite_user_id', $request->session()->get('id'))
|
||||||
->sum('commission_balance'),
|
->sum('commission_balance'),
|
||||||
//确认中的佣金
|
//确认中的佣金
|
||||||
Order::where('status', 3)
|
(int)Order::where('status', 3)
|
||||||
->where('commission_status', 0)
|
->where('commission_status', 0)
|
||||||
->where('invite_user_id', $request->session()->get('id'))
|
->where('invite_user_id', $request->session()->get('id'))
|
||||||
->sum('commission_balance'),
|
->sum('commission_balance'),
|
||||||
|
Loading…
Reference in New Issue
Block a user