mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 09:39:10 +08:00
update
This commit is contained in:
parent
774ca33261
commit
37e35056ff
@ -17,8 +17,10 @@ class DeepbworkController extends Controller
|
||||
public function user (Request $request) {
|
||||
$nodeId = $request->input('node_id');
|
||||
$server = Server::find($nodeId);
|
||||
$server->last_check_at = time();
|
||||
$server->save();
|
||||
if ($server) {
|
||||
$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