diff --git a/controllers/Mitac_service.php b/controllers/Mitac_service.php index 39d41e1..7dd97d5 100644 --- a/controllers/Mitac_service.php +++ b/controllers/Mitac_service.php @@ -118,7 +118,7 @@ class Mitac_service extends CI_Controller $lpr = $this->input->post('lpr', true); // 車牌 $in_time = $this->input->post('in_time', true); // 進場時間 $out_time = $this->input->post('out_time', true); // 出場時間 - $gate_id = 1; // 20171124 改為全丟給 1 //$this->input->post('gate_id', true); // 驗票機編號 + $this->input->post('gate_id', true); // 驗票機編號 $ck = $this->input->post('ck', true); // 驗証碼 // 通訊內容 diff --git a/models/Cars_model.php b/models/Cars_model.php index 2634f22..f891684 100644 --- a/models/Cars_model.php +++ b/models/Cars_model.php @@ -1423,7 +1423,7 @@ class Cars_model extends CI_Model $lpr = $lpr; $in_time = $rows_cario['out_before_time']; $out_time = $this->now_str; - $gate_id = $ivsno; + $gate_id = 1; // 20171124 改為強制 1//$ivsno; // 通訊內容 $parms = array(