Commit 46ef8d5d authored by hujun's avatar hujun

1

parent 6a4fdee6
......@@ -137,10 +137,14 @@ class Broker extends Basic
$agent_client = 0;
if (!empty($this->userId) && ($this->params['source'] != 'B-APP') && $this->params['site_id']) {
$client_where['c.id'] = $this->userId;
$client_where['a.status'] = 0;
$client_where['d.user_id'] = $this->userId;
$client_where['d.site_id'] = $this->params['site_id'];
$agent_client = $agents->getAgentClientCity($fields, $client_where);
$client_where['d.is_del'] = 0;
$client = $agents->getAgentUser('a.id,a.name,a.img,a.phone', $client_where); //客方
if (!empty($client)){
$client['show_content'] = '帮助客户找更多,善于了解客户需求';
array_push($list, $client);
}
}
//去除分享的商铺
......@@ -259,7 +263,7 @@ class Broker extends Basic
default :
return $this->response(101, '参数错误');
}
$client_where['d.is_del'] = 0;
$client_where['d.site_id'] = $site_id;
$client = $agents->getAgentUser($fields, $client_where); //客方
if (!empty($client)){
......
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