正在显示
1 个修改的文件
包含
4 行增加
和
4 行删除
| @@ -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 | } |
-
请 注册 或 登录 后发表评论