feat(router): not obtain middleware in RouteInfo