作者 赵彬吉

update

... ... @@ -274,7 +274,7 @@ class postInquiry extends Command
'post_id' => $log['url'],
];
$res = Http::withoutVerifying()->post('https://fob.ai.cc/api/ad_to_scrm', $data)->json();
if (empty($res['code']) || $res['code'] != 200) {
if (empty($res['status']) || $res['status'] != 200) {
$log->status = ReInquiryDetailLog::STATUS_FAIL;
$log->remark = mb_substr($res['message'] ?? '', 0, 200);
$log->save();
... ...