|
...
|
...
|
@@ -346,7 +346,7 @@ class UpdateSeoTdk extends Command |
|
|
|
if(empty($v['description'])){
|
|
|
|
$name = $this->companyName($project_id);
|
|
|
|
// if(!empty($name)){
|
|
|
|
$data['description'] = $this->ai_send('page_meta_description',$v['name'],$name);
|
|
|
|
$data['description'] = $this->ai_send('page_meta_description',$v['name']);
|
|
|
|
// }
|
|
|
|
}
|
|
|
|
if(!$data){
|
|
...
|
...
|
@@ -414,8 +414,8 @@ class UpdateSeoTdk extends Command |
|
|
|
'keywords'=>$keywords,
|
|
|
|
];
|
|
|
|
$data = Common::send_openai_msg($chat_url,$param,$name);
|
|
|
|
$data['text'] = Common::deal_keywords($data['text']);
|
|
|
|
$data['text'] = Common::deal_str($data['text']);
|
|
|
|
// $data['text'] = Common::deal_keywords($data['text']);
|
|
|
|
// $data['text'] = Common::deal_str($data['text']);
|
|
|
|
return $data['text'];
|
|
|
|
}
|
|
|
|
|
...
|
...
|
|