LaneWeChat\Core\Wechat::getRequest PHP Method

getRequest() protected method

获取本次请求中的参数,不区分大小
protected getRequest ( string $param = FALSE ) : mixed
$param string 参数名,默认为无参
return mixed
    protected function getRequest($param = FALSE)
    {
        if ($param === FALSE) {
            return $this->request;
        }
        $param = strtolower($param);
        if (isset($this->request[$param])) {
            return $this->request[$param];
        }
        return NULL;
    }