core/Controller.php
protected function getIP(bool $proxy = false, bool $forward = false)
    {
        return Request::getIP($proxy, $forward);
    }
protected function getIP(bool $proxy = false, bool $forward = false)
    {
        return Request::getIP($proxy, $forward);
    }
获取IP
@param bool $proxy
@param bool $forward
@return array|mixed|null|string