mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 17:49:11 +08:00
update
This commit is contained in:
parent
9066119fb5
commit
1081bdbd8b
@ -8,6 +8,7 @@ use App\Http\Controllers\Controller;
|
||||
use App\Models\User;
|
||||
use App\Models\Plan;
|
||||
use App\Models\Server;
|
||||
use App\Models\Ticket;
|
||||
use App\Utils\Helper;
|
||||
use App\Models\Order;
|
||||
|
||||
@ -77,7 +78,9 @@ class UserController extends Controller
|
||||
Order::where('status', 0)
|
||||
->where('user_id', $request->session()->get('id'))
|
||||
->count(),
|
||||
0,
|
||||
Ticket::where('status', 0)
|
||||
->where('user_id', $request->session()->get('id'))
|
||||
->count(),
|
||||
User::where('invite_user_id', $request->session()->get('id'))
|
||||
->count()
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user