|
...
|
...
|
@@ -174,7 +174,7 @@ class postInquiry extends Command |
|
|
|
];
|
|
|
|
|
|
|
|
$res = Http::withoutVerifying()->post('https://form.globalso.com/api/external-interface/add/fa043f9cbec6b38f', $data)->json();
|
|
|
|
if(empty($res['data']['code']) || $res['data']['code'] != 200){
|
|
|
|
if(empty($res['data'][0]['code']) || $res['data'][0]['code'] != 200){
|
|
|
|
$log->status = ReInquiryDetailLog::STATUS_FAIL;
|
|
|
|
$log->remark = $res['message'] ?? '';
|
|
|
|
$log->save();
|
...
|
...
|
|