作者 lyh

gxAiblog自动发布

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