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