src/Leevel/Router/RouterProvider.php
protected function setRoutersData(array $routers): void
    {
        $this->container['router']->setBasePaths($routers['base_paths']);
        $this->container['router']->setGroupPaths($routers['group_paths']);
        $this->container['router']->setGroups($routers['groups']);
        $this->container['router']->setRouters($routers['routers']);
    }
protected function setRoutersData(array $routers): void
    {
        $this->container['router']->setBasePaths($routers['base_paths']);
        $this->container['router']->setGroupPaths($routers['group_paths']);
        $this->container['router']->setGroups($routers['groups']);
        $this->container['router']->setRouters($routers['routers']);
    }
设置路由数据.

@param array $routers