Commit e84cc0ac authored by zhuwei's avatar zhuwei Committed by zw

全部客户逻辑修改

parent 4b31b237
......@@ -256,11 +256,13 @@ class Client extends Basic
if ($search_type != '2')
{//全部客户
if($type == '0')
{//求租:0 ;已租:1 数据库0:求租;1:已租;-1:无效
$conditions['user_status'] = 0;
}else{//
$conditions['user_status'] = 1;
if($search_type == ''){
if($type == '0')
{//求租:0 ;已租:1 数据库0:求租;1:已租;-1:无效
$conditions['user_status'] = 0;
}else{//
$conditions['user_status'] = 1;
}
}
$user = new Users();
$user_res = $user->all_user($conditions,$pagesize,$pagenum);
......
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