|
...
|
...
|
@@ -267,7 +267,8 @@ class Demo extends Command |
|
|
|
public function handle(){
|
|
|
|
$html = '<div><a>23423424</a><a href="#" class="logo img-box"><img src="https://cdn.globalso.com/fiberglass-expert/logo.png" alt="logoz9j"></a></div>';
|
|
|
|
$dom = str_get_html($html);
|
|
|
|
$texts = $dom->find('a', 0);
|
|
|
|
$texts = $dom->find("a[class=logo]",0);
|
|
|
|
// $texts = $dom->find('a', 0);
|
|
|
|
dd($texts);
|
|
|
|
// $projectModel = new Project();
|
|
|
|
// $list = $projectModel->list(['delete_status'=>0,'type'=>['!=',0]]);
|
...
|
...
|
|