作者 lyh

gx

... ... @@ -269,7 +269,7 @@ class Demo extends Command
$html = str_get_html($html);
$dom = new \simple_html_dom(); //new simple_html_dom对象</p><p>
$domHtml = $dom->load($html);
$texts = $domHtml->find("a[class=logo]",0);
$texts = $domHtml->find('a');
// $texts = $dom->find('a', 0);
dd($texts);
// $projectModel = new Project();
... ...