ソースを参照

更新宏奇傳送邏輯

master
QxQ 6年前
コミット
a87c338b70
1個のファイルの変更1行の追加1行の削除
  1. +1
    -1
      models/Cars_model.php

+ 1
- 1
models/Cars_model.php ファイルの表示

@@ -1742,7 +1742,7 @@ class Cars_model extends CI_Model
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT ,5);
curl_setopt($ch, CURLOPT_TIMEOUT, 5); //timeout in seconds
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query(array("data"=>$json)));
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: application/json'));
curl_setopt($ch, CURLOPT_HTTPHEADER, false);
$result = curl_exec($ch);
trigger_error(curl_error($ch));
curl_close($ch);


読み込み中…
キャンセル
保存