src/Leevel/Router/RouterProvider.php
protected function setControllerDir(): void
    {
        if (null !== $this->controllerDir) {
            $this->container['router']->setControllerDir($this->controllerDir);
        }
    }
protected function setControllerDir(): void
    {
        if (null !== $this->controllerDir) {
            $this->container['router']->setControllerDir($this->controllerDir);
        }
    }
设置应用控制器目录.