src/Http.php
public function getUriParameters() {
        $data = $this->getParametersByMaps($this->uriMaps);
        if (empty($this->uriEncodeFunc)) {
            return $data;
        }
        if (is_callable($this->uriEncodeFunc)) {
            return call_user_func($this->uriEncodeFunc, $data);
        }
        if ($this->uriEncodeFunc == self::JSON) {
            return Json::encode($data);
        }
        if ($this->uriEncodeFunc == self::XML) {
            return Xml::encode($data);
        }
        return $data;
    }
public function getUriParameters() {
        $data = $this->getParametersByMaps($this->uriMaps);
        if (empty($this->uriEncodeFunc)) {
            return $data;
        }
        if (is_callable($this->uriEncodeFunc)) {
            return call_user_func($this->uriEncodeFunc, $data);
        }
        if ($this->uriEncodeFunc == self::JSON) {
            return Json::encode($data);
        }
        if ($this->uriEncodeFunc == self::XML) {
            return Xml::encode($data);
        }
        return $data;
    }
获取uri参数
@return array|mixed|object
@throws \Exception