作者 lyh

gx数据

@@ -143,10 +143,10 @@ class AiBlogAuthorTask extends Command @@ -143,10 +143,10 @@ class AiBlogAuthorTask extends Command
143 $aiBlogService->mch_id = $aiSettingInfo['mch_id']; 143 $aiBlogService->mch_id = $aiSettingInfo['mch_id'];
144 $aiBlogService->key = $aiSettingInfo['key']; 144 $aiBlogService->key = $aiSettingInfo['key'];
145 $aiBlogService->updateAuthorInfo(['author_id'=>$param['author_id'],'route'=>$param['route'],'title'=>$param['title'],'picture'=>$param['image'],'description'=>$param['description']]); 145 $aiBlogService->updateAuthorInfo(['author_id'=>$param['author_id'],'route'=>$param['route'],'title'=>$param['title'],'picture'=>$param['image'],'description'=>$param['description']]);
146 -// }catch (\Exception $e){  
147 -// echo 'error:'.$e->getMessage();  
148 -// continue;  
149 -// } 146 + }catch (\Exception $e){
  147 + echo 'error:'.$e->getMessage();
  148 + continue;
  149 + }
150 } 150 }
151 return true; 151 return true;
152 } 152 }