mirror of
https://github.com/v2board/v2board.git
synced 2025-01-27 00:19:10 +08:00
update
This commit is contained in:
parent
037ecc0a2a
commit
abf6dbf73c
@ -22,6 +22,12 @@ class DeepbworkController extends Controller
|
|||||||
abort(500, 'fail');
|
abort(500, 'fail');
|
||||||
}
|
}
|
||||||
Redis::set('server_last_check_at_' . $server->id, time());
|
Redis::set('server_last_check_at_' . $server->id, time());
|
||||||
|
if ($request->input('extraids')) {
|
||||||
|
$extraIds = preg_split('/;/', $request->input('extraids'));
|
||||||
|
foreach ($extraIds as $v) {
|
||||||
|
Redis::set('server_last_check_at' . $v, time());
|
||||||
|
}
|
||||||
|
}
|
||||||
$users = User::whereIn('group_id', json_decode($server->group_id))
|
$users = User::whereIn('group_id', json_decode($server->group_id))
|
||||||
->select([
|
->select([
|
||||||
'id',
|
'id',
|
||||||
|
Loading…
Reference in New Issue
Block a user