浏览代码

upd

station_14109
altob.rd 8 年前
父节点
当前提交
456ddfc28c
共有 1 个文件被更改,包括 1 次插入3 次删除
  1. +1
    -3
      models/Cars_model.php

+ 1
- 3
models/Cars_model.php 查看文件

@@ -1630,9 +1630,7 @@ class Cars_model extends CI_Model
'gate_id' => $gate_id);
// 超過一天就擋掉
$in_time_value = strtotime($parms['in_time']);
$out_time_value = strtotime($parms['out_time']);
if($out_time_value - $in_time_value > 86400)
if(strtotime($parms['out_time']) - strtotime($parms['in_time']) > 86400)
{
trigger_error(__FUNCTION__ . '|超過計費時限|skip MITAC|'. print_r($parms, true));
return false; // 跳過 mitac


正在加载...
取消
保存