customer_visit_1025_7

This commit is contained in:
dengbw
2021-10-25 11:53:43 +08:00
parent 0c873747e4
commit d636720eaf
+2 -2
View File
@@ -48,7 +48,7 @@ class Licheb extends HD_Controller
$c_id = $redis->get($redisVisit);
!$c_id && $c_id = 0;
$log = array();
$where = array('id >' => $c_id, 'status in(0,1)', 'admin_id >' => 0, 'c_time <' => strtotime($day . ' 00:00:00'));
$where = array('id >' => $c_id, 'status in(0,1)' => null, 'admin_id >' => 0, 'c_time <' => strtotime($day . ' 00:00:00'));
$res_c = $this->mdCustomers->select($where, 'id asc', 1, $size, 'id,level');
if (!$res_c) {
echo '执行到当前客户id' . $c_id . '暂无数据';
@@ -137,7 +137,7 @@ class Licheb extends HD_Controller
$c_id = $redis->get($redisVisit);
!$c_id && $c_id = 0;
$log = array();
$where = array('id >' => $c_id, 'status in(0,1)', 'admin_id >' => 0, 'c_time <' => strtotime($day . ' 00:00:00'));
$where = array('id >' => $c_id, 'status in(0,1)' => null, 'admin_id >' => 0, 'c_time <' => strtotime($day . ' 00:00:00'));
$res_c = $this->mdCustomers->select($where, 'id asc', 1, $size, 'id,level');
if (!$res_c) {
echo '执行到当前客户id' . $c_id . '暂无数据';