mirror of
https://github.com/v2board/v2board.git
synced 2025-01-27 00:19:10 +08:00
update
This commit is contained in:
parent
e963a61910
commit
6cf3b73da2
@ -55,7 +55,7 @@ class InviteController extends Controller
|
|||||||
(int)User::where('invite_user_id', $request->session()->get('id'))->count(),
|
(int)User::where('invite_user_id', $request->session()->get('id'))->count(),
|
||||||
//有效的佣金
|
//有效的佣金
|
||||||
(int)Order::where('status', 3)
|
(int)Order::where('status', 3)
|
||||||
->where('commission_status', 1)
|
->where('commission_status', 2)
|
||||||
->where('invite_user_id', $request->session()->get('id'))
|
->where('invite_user_id', $request->session()->get('id'))
|
||||||
->sum('commission_balance'),
|
->sum('commission_balance'),
|
||||||
//确认中的佣金
|
//确认中的佣金
|
||||||
|
@ -12,7 +12,7 @@ class NoticeController extends Controller
|
|||||||
public function fetch(Request $request)
|
public function fetch(Request $request)
|
||||||
{
|
{
|
||||||
return response([
|
return response([
|
||||||
'data' => Notice::orderBy('created_at', 'DESC')->first()
|
'data' => Notice::orderBy('created_at', 'DESC')->get()
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user