作者 刘锟

update

@@ -71,8 +71,8 @@ class GeneratePage extends Command @@ -71,8 +71,8 @@ class GeneratePage extends Command
71 $noticeModel->edit(['status'=>1],['id'=>$noticeInfo['id']]); 71 $noticeModel->edit(['status'=>1],['id'=>$noticeInfo['id']]);
72 $this->output($c_url . ' | 请求成功'); 72 $this->output($c_url . ' | 请求成功');
73 } else { 73 } else {
74 - $noticeModel->edit(['status'=>2],['id'=>$noticeInfo['id']]);  
75 - $this->output($c_url . ' | ' . (json_encode($re,true) ?? '未返回失败原因')); 74 + $noticeModel->edit(['status'=>2,'remark'=>$re['message']??''],['id'=>$noticeInfo['id']]);
  75 + $this->output($c_url . ' | ' . ($re['message'] ?? '未返回失败原因'));
76 } 76 }
77 $this->output(' taskID: ' . $noticeInfo['id'] . ' end'); 77 $this->output(' taskID: ' . $noticeInfo['id'] . ' end');
78 } catch (\Exception $e) { 78 } catch (\Exception $e) {