src/curlient/Curlient.php
protected function buildURL($url) {
		$cookies = $this->getCookies();

		return preg_replace_callback('#\{(\$[^\}]+)\}#', function ($m) use ($cookies) {
			if (isset($cookies[ $m[1] ])) {
				return $cookies[ $m[1] ];
			} else {
				return '';
			}
		}, $url);
	}
protected function buildURL($url) {
		$cookies = $this->getCookies();

		return preg_replace_callback('#\{(\$[^\}]+)\}#', function ($m) use ($cookies) {
			if (isset($cookies[ $m[1] ])) {
				return $cookies[ $m[1] ];
			} else {
				return '';
			}
		}, $url);
	}
使用cookie值做为参数构建url.

@param string $url

@return string