update: route manage

This commit is contained in:
tokumeikoi 2022-11-29 14:31:31 +08:00
parent 153721be55
commit 40e6400b9b

View File

@ -218,7 +218,7 @@ class ServerService
return $servers; return $servers;
} }
public function getRoutes(array $routeIds) public function getRoutes($routeIds)
{ {
return ServerRoute::select(['id', 'match', 'action', 'action_value'])->whereIn('id', $routeIds)->get(); return ServerRoute::select(['id', 'match', 'action', 'action_value'])->whereIn('id', $routeIds)->get();
} }