作者 李宇航

合并分支 'master-server' 到 'master'

gx异步执行更新列表页



查看合并请求 !1349
@@ -56,7 +56,8 @@ class AiBlogLogic extends BaseLogic @@ -56,7 +56,8 @@ class AiBlogLogic extends BaseLogic
56 $aiBlogService = new AiBlogService(); 56 $aiBlogService = new AiBlogService();
57 $aiBlogService->mch_id = $aiSettingInfo['mch_id']; 57 $aiBlogService->mch_id = $aiSettingInfo['mch_id'];
58 $aiBlogService->key = $aiSettingInfo['key']; 58 $aiBlogService->key = $aiSettingInfo['key'];
59 - $aiBlogService->updateDetail(['title'=>$this->param['new_title'],'thumb'=>$this->param['image'],'route'=>$this->param['route'],'author_id'=>$this->param['author_id']]); 59 + $res = $aiBlogService->updateDetail(['task_id'=>$this->param['task_id'],'title'=>$this->param['new_title'],'thumb'=>$this->param['image'],'route'=>$this->param['route'],'author_id'=>$this->param['author_id']]);
  60 + @file_put_contents(storage_path('logs/lyh_error.log'), var_export($res, true) . PHP_EOL, FILE_APPEND);
60 }catch (\Exception $e){ 61 }catch (\Exception $e){
61 $this->fail('保存失败,请联系管理员'); 62 $this->fail('保存失败,请联系管理员');
62 } 63 }