正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -274,7 +274,7 @@ class postInquiry extends Command | @@ -274,7 +274,7 @@ class postInquiry extends Command | ||
| 274 | 'post_id' => $log['url'], | 274 | 'post_id' => $log['url'], |
| 275 | ]; | 275 | ]; |
| 276 | $res = Http::withoutVerifying()->post('https://fob.ai.cc/api/ad_to_scrm', $data)->json(); | 276 | $res = Http::withoutVerifying()->post('https://fob.ai.cc/api/ad_to_scrm', $data)->json(); |
| 277 | - if (empty($res['code']) || $res['code'] != 200) { | 277 | + if (empty($res['status']) || $res['status'] != 200) { |
| 278 | $log->status = ReInquiryDetailLog::STATUS_FAIL; | 278 | $log->status = ReInquiryDetailLog::STATUS_FAIL; |
| 279 | $log->remark = mb_substr($res['message'] ?? '', 0, 200); | 279 | $log->remark = mb_substr($res['message'] ?? '', 0, 200); |
| 280 | $log->save(); | 280 | $log->save(); |
-
请 注册 或 登录 后发表评论