mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 09:39:10 +08:00
update
This commit is contained in:
parent
6420d4ec65
commit
9f19951e55
@ -27,9 +27,6 @@ class InviteController extends Controller
|
|||||||
$codes = InviteCode::where('user_id', $request->session()->get('id'))
|
$codes = InviteCode::where('user_id', $request->session()->get('id'))
|
||||||
->where('status', 0)
|
->where('status', 0)
|
||||||
->get();
|
->get();
|
||||||
for ($i = 0; $i < count($codes); $i++) {
|
|
||||||
$codes[$i]['invite_url'] = config('v2board.app_url', env('APP_URL')) . '/#/register?code=' . $codes[$i]['code'];
|
|
||||||
}
|
|
||||||
$stat = [
|
$stat = [
|
||||||
//已注册用户数
|
//已注册用户数
|
||||||
(int)User::where('invite_user_id', $request->session()->get('id'))->count(),
|
(int)User::where('invite_user_id', $request->session()->get('id'))->count(),
|
||||||
|
Loading…
Reference in New Issue
Block a user