Commit 8563f642 authored by zhuwei's avatar zhuwei

委托类型 0找铺 1找办公楼

parent 7f6ad8d4
......@@ -550,7 +550,14 @@ class User extends Basic
$where['site_ids'] = [ 'LIKE', '%' . $this->siteId . '%' ];
}
$where['entrust_type'] = isset($params["entrust_type"]) ? $params["entrust_type"] : 0;
//委托类型 0找铺 1找办公楼
if(isset($params["entrust_type"])){
if($params["entrust_type"] == 0){
$where['entrust_type'] = 0;
}elseif ($params["entrust_type"] == 1){
$where['entrust_type'] = 1;
}
}
$field = 'id,user_nick,agent_id,vip,create_time';
$user = new Users();
......
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