mirror of
https://github.com/v2board/v2board.git
synced 2024-11-13 02:59: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) {
|
public function user (Request $request) {
|
||||||
$nodeId = $request->input('node_id');
|
$nodeId = $request->input('node_id');
|
||||||
$server = Server::find($nodeId);
|
$server = Server::find($nodeId);
|
||||||
$server->last_check_at = time();
|
if ($server) {
|
||||||
$server->save();
|
$server->last_check_at = time();
|
||||||
|
$server->save();
|
||||||
|
}
|
||||||
$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