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;
} }
} }
...@@ -1006,6 +1006,8 @@ Route::group('office', [ ...@@ -1006,6 +1006,8 @@ Route::group('office', [
'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