作者 lyh

变更数据

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