|
...
|
...
|
@@ -4,6 +4,7 @@ namespace App\Models\Inquiry; |
|
|
|
|
|
|
|
use App\Helper\FormGlobalsoApi;
|
|
|
|
use App\Models\Base;
|
|
|
|
use App\Utils\LogUtils;
|
|
|
|
use Illuminate\Database\Eloquent\SoftDeletes;
|
|
|
|
use Illuminate\Support\Facades\DB;
|
|
|
|
|
|
...
|
...
|
@@ -83,7 +84,10 @@ class InquiryFormData extends Base |
|
|
|
$data['message'].= "<br/>" . $k .': ' . $v;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
!$has_file && (new FormGlobalsoApi())->submitInquiry($ip, $referer, $submit_at, $data);
|
|
|
|
if(!$has_file) {
|
|
|
|
$res = (new FormGlobalsoApi())->submitInquiry($ip, $referer, $submit_at, $data);
|
|
|
|
LogUtils::info('询盘提交', $data, $res?: []);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return true;
|
|
|
|
}
|
...
|
...
|
|