add Http service

This commit is contained in:
Jaeger
2017-09-22 02:38:46 +08:00
parent 2013e4d2b0
commit 042c10cdea
7 changed files with 87 additions and 2 deletions

View File

@@ -35,7 +35,7 @@ class Query
public function setHtml($html)
{
$this->html = $html;
$this->html = value($html);
$this->document = phpQuery::newDocumentHTML($this->html);
return $this->ql;
}