Commit 0781a5e7 authored by zhuwei's avatar zhuwei

'全部客户列表' 需要排除排除保护期内的客户

parent 0b695305
...@@ -157,6 +157,10 @@ class User extends Basic ...@@ -157,6 +157,10 @@ class User extends Basic
if($app_request_source_type == 1){ if($app_request_source_type == 1){
//'全部客户列表' 需要排除排除纯房东客户 //'全部客户列表' 需要排除排除纯房东客户
$conditions['user_label'] = array( "neq", 2 ); $conditions['user_label'] = array( "neq", 2 );
//'全部客户列表' 需要排除排除保护期内的客户
$time_now = date('Y-m-d H:i:s');//当前时间
$time_before = date("Y-m-d H:i:s",strtotime("-1 day"));//24小时前的时间
$conditions['create_time'] = array( 'not between', array( $time_before, $time_now ) );
} }
} }
//dump($app_request_source_type);exit; //dump($app_request_source_type);exit;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment