add(); HelpHander::success([],'操作成功'); } // 删除 public function del(){ $id = input('id/d',0); model('HouseBuilding')->del($id); HelpHander::success([],'操作成功'); } //列表 public function list(){ $page = input('page/d',1); $size = input('size/d',10); $title = input('title','','trim'); $type = input('type/d',1); $ret = model('HouseBuilding')->lists($page,$size,$title,$type,$this->orgId); HelpHander::success($ret); } public function blist(){ $type = input('type/d',1); $title = input('title','','trim'); $cate = input('cate/d',1); $ret = model('HouseBuilding')->blist($type,$title,$this->userId,$this->orgId,$cate); HelpHander::success($ret); } public function houseTurnList(){ $buildingId = input('buildingId/d',0); $title = input('title','','trim'); $cate = input('cate/d',0); $ret = model('HouseBuilding')->houseTurnList($this->userId,$this->orgId,$buildingId,$title,$cate); HelpHander::success($ret); } public function houseTurnDetails(){ $id = input('id/d',0); $ret = model('HouseBuilding')->houseTurnDetails($id); HelpHander::success($ret); } public function houseFloor(){ $buildingId = input('buildingId/d',0); $ret = model('HouseBuilding')->houseFloor($this->userId,$this->orgId,$buildingId); HelpHander::success($ret); } }