作者 lyh

变更数据

... ... @@ -180,7 +180,7 @@ class AiBlogLogic extends BaseLogic
//推送到ai的数据结构
$data = [
'title'=>$param['new_title'], 'thumb'=>$param['image'], 'foreword'=>$param['description'] ?? '',
'author_id'=>$this->param['author_id'], 'url'=>$param['route'],
'author_id'=>$param['author_id'], 'url'=>$param['route'],
];
if(!isset($param['description']) || empty($param['description'])){
$param['description'] = truncate_text($param['text']);
... ...