Ver código fonte

更新宏奇傳送邏輯

master
QxQ 6 anos atrás
pai
commit
a87c338b70
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      models/Cars_model.php

+ 1
- 1
models/Cars_model.php Ver arquivo

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


Carregando…
Cancelar
Salvar