|
...
|
...
|
@@ -53,7 +53,6 @@ class UpdateController extends BaseController |
|
|
|
if(!isset($seo_arr['title'])){
|
|
|
|
//生成seo_title
|
|
|
|
$seo_arr['title'] = $this->ai_send('product_seo_title',$v['title']);
|
|
|
|
|
|
|
|
}
|
|
|
|
//更新seo_keyword
|
|
|
|
if(!isset($seo_arr['keyword'])){
|
|
...
|
...
|
@@ -119,8 +118,6 @@ class UpdateController extends BaseController |
|
|
|
'keywords'=>$keywords,
|
|
|
|
];
|
|
|
|
$data = Common::send_openai_msg($chat_url,$param);
|
|
|
|
var_dump($data);
|
|
|
|
die();
|
|
|
|
return $data;
|
|
|
|
return $data['text'];
|
|
|
|
}
|
|
|
|
} |
...
|
...
|
|