mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 17:49:11 +08:00
update
This commit is contained in:
parent
37e35056ff
commit
eeac29aceb
@ -17,10 +17,11 @@ class DeepbworkController extends Controller
|
||||
public function user (Request $request) {
|
||||
$nodeId = $request->input('node_id');
|
||||
$server = Server::find($nodeId);
|
||||
if ($server) {
|
||||
$server->last_check_at = time();
|
||||
$server->save();
|
||||
if (!$server) {
|
||||
abort(500, 'fail');
|
||||
}
|
||||
$server->last_check_at = time();
|
||||
$server->save();
|
||||
$users = User::whereIn('group_id', json_decode($server->group_id))
|
||||
->select([
|
||||
'id',
|
||||
|
Loading…
Reference in New Issue
Block a user