src/DdvRestfulApi/Abstracts/AuthSign.php
public function getSignUrlByUrl($accessKeyId = null, $url = '/', $noSignQuery = array(), $method = 'GET', $query = array(), $headers = array(), $authClassName = null)
    {
        $urlObj = DdvUrl::parse($url);
        if ($urlObj['query']) {
            $params = DdvUrl::parseQuery($urlObj['query']);
            $params = is_array($params) ? $params : array();
            $params = array_merge($params, $query);
            $path = self::getSignUrl($accessKeyId, $urlObj['path'], $params, $noSignQuery, $method, $headers, $authClassName);
            $index = strpos($path, '?');
            if ($index !== false) {
                $urlObj['path'] = substr($path, 0, $index);
                $urlObj['query'] = substr($path, $index + 1);
            } else {
                $urlObj['path'] = $path;
            }
        }
        return DdvUrl::build($urlObj);
    }
public function getSignUrlByUrl($accessKeyId = null, $url = '/', $noSignQuery = array(), $method = 'GET', $query = array(), $headers = array(), $authClassName = null)
    {
        $urlObj = DdvUrl::parse($url);
        if ($urlObj['query']) {
            $params = DdvUrl::parseQuery($urlObj['query']);
            $params = is_array($params) ? $params : array();
            $params = array_merge($params, $query);
            $path = self::getSignUrl($accessKeyId, $urlObj['path'], $params, $noSignQuery, $method, $headers, $authClassName);
            $index = strpos($path, '?');
            if ($index !== false) {
                $urlObj['path'] = substr($path, 0, $index);
                $urlObj['query'] = substr($path, $index + 1);
            } else {
                $urlObj['path'] = $path;
            }
        }
        return DdvUrl::build($urlObj);
    }
获取已经索取的数据信息