src/Leevel/Http/Request.php
public function getUri(): string
    {
        if (null !== $queryString = $this->getQueryString()) {
            $queryString = '?'.$queryString;
        }

        return $this->getSchemeAndHttpHost().rtrim($this->getBaseUrl(), '/').$this->getPathInfo().$queryString;
    }
public function getUri(): string
    {
        if (null !== $queryString = $this->getQueryString()) {
            $queryString = '?'.$queryString;
        }

        return $this->getSchemeAndHttpHost().rtrim($this->getBaseUrl(), '/').$this->getPathInfo().$queryString;
    }
返回当前 URL 地址.

@return string