作者 赵彬吉

update

@@ -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();