src/Leevel/Router/Router.php
protected function resolveMatchedData(array $data): void
    {
        $data = $this->mergeMatchedData($data, $this->preRequestMatched[spl_object_id($this->request)] ?? []);

        if (!$data[IRouter::APP]) {
            $data[IRouter::APP] = self::DEFAULT_APP;
        }

        $this->matchedData = $data;
    }
protected function resolveMatchedData(array $data): void
    {
        $data = $this->mergeMatchedData($data, $this->preRequestMatched[spl_object_id($this->request)] ?? []);

        if (!$data[IRouter::APP]) {
            $data[IRouter::APP] = self::DEFAULT_APP;
        }

        $this->matchedData = $data;
    }
完成路由匹配数据.

@param array $data