Commit b5f2f855 authored by clone's avatar clone

1

parent 007c4105
This diff is collapsed.
This diff is collapsed.
...@@ -202,6 +202,14 @@ class OfficeGRoomToAgent extends BaseModel ...@@ -202,6 +202,14 @@ class OfficeGRoomToAgent extends BaseModel
return $result; return $result;
} }
/**
* @param $field
* @param $params
* @return false|\PDOStatement|string|\think\Collection
* @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\ModelNotFoundException
* @throws \think\exception\DbException
*/
public function getAgentsByHouseId($field, $params) public function getAgentsByHouseId($field, $params)
{ {
$result = Db::name($this->table) $result = Db::name($this->table)
...@@ -213,4 +221,5 @@ class OfficeGRoomToAgent extends BaseModel ...@@ -213,4 +221,5 @@ class OfficeGRoomToAgent extends BaseModel
//echo Db::name($this->table)->getLastSql(); //echo Db::name($this->table)->getLastSql();
return $result; return $result;
} }
} }
...@@ -704,26 +704,26 @@ Route::group('broker', [ ...@@ -704,26 +704,26 @@ Route::group('broker', [
'verifyAgentStatus' => ['api_broker/Broker/verifyAgentStatus', ['method' => 'post']], //判断经纪人是否被解绑 'verifyAgentStatus' => ['api_broker/Broker/verifyAgentStatus', ['method' => 'post']], //判断经纪人是否被解绑
'updateDevice' => ['api_broker/Broker/updateDevice', ['method' => 'post']], //解绑或者绑定经纪人 'updateDevice' => ['api_broker/Broker/updateDevice', ['method' => 'post']], //解绑或者绑定经纪人
'editAgent' => ['api_broker/Broker/editAgent', ['method' => 'post']], //经纪人修改密码 'editAgent' => ['api_broker/Broker/editAgent', ['method' => 'post']], //经纪人修改密码
'forgetPwd' => ['api_broker/Broker/forgetPwd', ['method' => 'post']], //经纪人忘记密码 'forgetPwd' => ['api_broker/Broker/forgetPwd', ['method' => 'post']], //经纪人忘记密码
'uploadHeadImg' => ['api_broker/Broker/uploadHeadImg', ['method' => 'post']], //经纪人上传头像 'uploadHeadImg' => ['api_broker/Broker/uploadHeadImg', ['method' => 'post']], //经纪人上传头像
'editClient' => ['api_broker/Client/editClient', ['method' => 'get|post']],//添加和编辑客户 'editClient' => ['api_broker/Client/editClient', ['method' => 'get|post']],//添加和编辑客户
'getBroker' => ['api_broker/broker/getBroker', ['method' => 'get']],//获取经纪人列表 'getBroker' => ['api_broker/broker/getBroker', ['method' => 'get']],//获取经纪人列表
'getAgentGroupSite' => ['api_broker/broker/getAgentGroupSite', ['method' => 'get']],//获得经纪人站点 'getAgentGroupSite' => ['api_broker/broker/getAgentGroupSite', ['method' => 'get']],//获得经纪人站点
'labelEdit' => ['api_broker/label/index', ['method' => 'get|post']], //编辑标签 'labelEdit' => ['api_broker/label/index', ['method' => 'get|post']], //编辑标签
'getLabelsList' => ['api_broker/label/getLabelsList', ['method' => 'get']], //标签列表 'getLabelsList' => ['api_broker/label/getLabelsList', ['method' => 'get']], //标签列表
'add_phone_follow_up' => ['api_broker/broker/add_phone_follow_up', ['method' => 'get|post']],//新增-客户电话跟进 'add_phone_follow_up' => ['api_broker/broker/add_phone_follow_up', ['method' => 'get|post']],//新增-客户电话跟进
'addUserPhoneFollowUp' => ['api_broker/broker/addUserPhoneFollowUp', ['method' => 'get|post']],//新增-客户电话跟进 'addUserPhoneFollowUp' => ['api_broker/broker/addUserPhoneFollowUp', ['method' => 'get|post']],//新增-客户电话跟进
'addUserPhoneFollowUpV2' => ['api_broker/broker/addUserPhoneFollowUpV2', ['method' => 'get|post']],//新增-客户电话跟进 'addUserPhoneFollowUpV2' => ['api_broker/broker/addUserPhoneFollowUpV2', ['method' => 'get|post']],//新增-客户电话跟进
'useraction_search' => ['api_broker/broker/useraction_search', ['method' => 'get|post']],//客户电话跟进 'useraction_search' => ['api_broker/broker/useraction_search', ['method' => 'get|post']],//客户电话跟进
'vip' => ['api_broker/broker/vip', ['method' => 'get|post']], 'vip' => ['api_broker/broker/vip', ['method' => 'get|post']],
'userStateSearch' => ['api_broker/broker/userStateSearch', ['method' => 'get|post']],//新增-客户电话跟进 'userStateSearch' => ['api_broker/broker/userStateSearch', ['method' => 'get|post']],//新增-客户电话跟进
'user_search' => ['api_broker/broker/user_search', ['method' => 'get|post']],//客户搜索 'user_search' => ['api_broker/broker/user_search', ['method' => 'get|post']],//客户搜索
'checkAuth' => ['api_broker/broker/checkAuth', ['method' => 'get']],//权限验证 'checkAuth' => ['api_broker/broker/checkAuth', ['method' => 'get']],//权限验证
'bindAXB' => ['api_broker/CellPhone/bindAXB', ['method' => 'post']],//隐私号码 'bindAXB' => ['api_broker/CellPhone/bindAXB', ['method' => 'post']],//隐私号码
'agentsUnBind' => ['api_broker/CellPhone/agentsUnBind', ['method' => 'post']],//解除绑定关系 'agentsUnBind' => ['api_broker/CellPhone/agentsUnBind', ['method' => 'post']],//解除绑定关系
'updateBindAXB' => ['api_broker/CellPhone/updateBindAXB', ['method' => 'post']], //更新绑定关系隐私号码 'updateBindAXB' => ['api_broker/CellPhone/updateBindAXB', ['method' => 'post']], //更新绑定关系隐私号码
'getCallLog' => ['api_broker/broker/getCallLog', ['method' => 'get|post']], 'getCallLog' => ['api_broker/broker/getCallLog', ['method' => 'get|post']],
'agentUserTb' => ['api_broker/Client/agentUserTb', ['method' => 'get']],//客户列表 'agentUserTb' => ['api_broker/Client/agentUserTb', ['method' => 'get']],//客户列表
...@@ -1004,8 +1004,10 @@ Route::group('office', [ ...@@ -1004,8 +1004,10 @@ Route::group('office', [
'bargainMain' => ['api_broker/OfficeBargain/bargainList', ['method' => 'POST|GET']], 'bargainMain' => ['api_broker/OfficeBargain/bargainList', ['method' => 'POST|GET']],
'bargainMainV2' => ['api_broker/OfficeBargain/bargainListV2', ['method' => 'POST|GET']], 'bargainMainV2' => ['api_broker/OfficeBargain/bargainListV2', ['method' => 'POST|GET']],
'userFollowUpList' => ['api_broker/OfficeHomePageLog/userFollowUpList', ['method' => 'POST|GET']], 'userFollowUpList' => ['api_broker/OfficeHomePageLog/userFollowUpList', ['method' => 'POST|GET']],
'houseFollowUpList' => ['api_broker/OfficeHomePageLog/houseFollowUpList', ['method' => 'POST|GET']], 'houseFollowUpList' => ['api_broker/OfficeHomePageLog/houseFollowUpList', ['method' => 'POST|GET']],
'collectionListByBargainId' => ['api_broker/OfficePerformance/collectionListByBargainId', ['method' => 'POST|GET']],
]); ]);
Route::group('office_index', [ Route::group('office_index', [
......
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