Commit 073ab5a3 authored by shajiaiming's avatar shajiaiming

Merge branch 'feature/optimize' into develop

parents 5b437aa9 b72e4b77
...@@ -24,7 +24,6 @@ class WarnController extends Controller ...@@ -24,7 +24,6 @@ class WarnController extends Controller
if ($key == 2) { if ($key == 2) {
$string = HtmlDomParser::str_get_html($e->innertext); $string = HtmlDomParser::str_get_html($e->innertext);
if ($string->find('td')) { if ($string->find('td')) {
foreach ($string->find('td') as $i => $td) {
if (strpos($string->find('td')[2]->innertext, '暂未公布') !== false) { if (strpos($string->find('td')[2]->innertext, '暂未公布') !== false) {
return 0; return 0;
} else { } else {
...@@ -46,5 +45,4 @@ class WarnController extends Controller ...@@ -46,5 +45,4 @@ class WarnController extends Controller
} }
} }
} }
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment