This commit is contained in:
root 2019-12-29 12:12:33 +08:00
parent abf6dbf73c
commit 35c71be4a9

View File

@ -22,12 +22,6 @@ 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',