|
...
|
...
|
@@ -62,6 +62,7 @@ class lyhDemo extends Command |
|
|
|
if(!empty($item['seo_description'])){
|
|
|
|
$arr = explode('.',$item['seo_description']);
|
|
|
|
if($arr[0].'.' != $item['seo_description']){
|
|
|
|
echo '进入'.PHP_EOL;
|
|
|
|
$text = $this->trimToLastFullWord($item['seo_description']);
|
|
|
|
}else{
|
|
|
|
$text = $arr[0].'.';
|
...
|
...
|
|