Commit 236e48b7 authored by 蔡闯's avatar 蔡闯

2021-2-19

parent a170f952
...@@ -66,7 +66,10 @@ class Userbind extends Base ...@@ -66,7 +66,10 @@ class Userbind extends Base
public function houseOwnerList(){ public function houseOwnerList(){
$vacancy = new Vacancy($this->app); $vacancy = new Vacancy($this->app);
$page = Request::param('page',1); $page = Request::param('page',1);
$where[] = ['hub.type','=',Request::param('type',0)]; $type = Request::param('type');
if(isset($type)) {
$where[] = ['hub.type','=',$type];
}
$where[] = ['hub.village_id','=',$this->village_id]; $where[] = ['hub.village_id','=',$this->village_id];
if(Request::param('phone')) { if(Request::param('phone')) {
$where[] = ['hub.phone','=',Request::param('phone')]; $where[] = ['hub.phone','=',Request::param('phone')];
......
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