Commit 5a3a6dd5 authored by zhuwei's avatar zhuwei

权限判断,是否有权筛选纯房东客户 0:可查看 1:不可查看

parent d8a8b3da
......@@ -3,6 +3,7 @@
namespace app\index\controller;
use app\api_broker\service\CallPhoneService;
use app\api_broker\service\ClientService;
use app\api_broker\service\VipService;
use app\extra\RedisExt;
use app\index\extend\Basic;
use app\index\service\UserService;
......@@ -366,6 +367,12 @@ class Member extends Basic{
}
$data['list'] =$list;
$data['total'] = $this->user->getUserAgentTotal($where, $type);
/*权限判断,是否有权筛选纯房东客户 0:可查看 1:不可查看*/
$check = new VipService();
$data['pure_landlord'] = $check->vip($params["agent_id_for_bind"], 'pure_landlord');//end
} catch (\Exception $e) {
return $this->response(101, '内部错误,获取客户失败!请联系运营。');
}
......
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