作者 lyh

gxAiblog自动发布

@@ -60,7 +60,7 @@ class lyhDemo extends Command @@ -60,7 +60,7 @@ class lyhDemo extends Command
60 if(!empty($aiLists)){ 60 if(!empty($aiLists)){
61 foreach ($aiLists as $item){ 61 foreach ($aiLists as $item){
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 dd($arr); 64 dd($arr);
65 if($arr[0] != $item['seo_description']){ 65 if($arr[0] != $item['seo_description']){
66 $text = $this->trimToLastFullWord($item['seo_description']); 66 $text = $this->trimToLastFullWord($item['seo_description']);