diff --git a/api/controllers/plan/Licheb.php b/api/controllers/plan/Licheb.php index f0400652..fa9fd28b 100644 --- a/api/controllers/plan/Licheb.php +++ b/api/controllers/plan/Licheb.php @@ -47,7 +47,6 @@ class Licheb extends HD_Controller } $c_id = $redis->get($redisVisit); !$c_id && $c_id = 0; - $c_id = 0; $log = array(); $where = array('id >' => $c_id, 'status in(0,1)', 'admin_id >' => 0, 'c_time <' => strtotime($day . ' 00:00:00')); $res_c = $this->mdCustomers->select($where, 'id asc', 1, $size, 'id,level'); @@ -137,7 +136,6 @@ class Licheb extends HD_Controller } $c_id = $redis->get($redisVisit); !$c_id && $c_id = 0; - $c_id = 0; $log = array(); $where = array('id >' => $c_id, 'status in(0,1)', 'admin_id >' => 0, 'c_time <' => strtotime($day . ' 00:00:00')); $res_c = $this->mdCustomers->select($where, 'id asc', 1, $size, 'id,level');