Commit ad7dacac by html5-李恒逸

修改经纪人看到的楼盘较少bug,将页面展示数量修改到30

parent 5fd6538a
...@@ -29,7 +29,7 @@ class Building extends CI_Controller { ...@@ -29,7 +29,7 @@ class Building extends CI_Controller {
public function index(){ public function index(){
$this->load->helper('date'); $this->load->helper('date');
$distributor_ins=$this->distributor->get(array('uniqid_id'=>$this->uniqid_id)); $distributor_ins=$this->distributor->get(array('uniqid_id'=>$this->uniqid_id));
$buildings=$this->bdrelation->get_all_building(array('D.id'=>$distributor_ins['id'],'R.is_deleted'=>0),1,10); $buildings=$this->bdrelation->get_all_building(array('D.id'=>$distributor_ins['id'],'R.is_deleted'=>0),1,30);
$this->data['buildings']=$buildings; $this->data['buildings']=$buildings;
$datestring="%Y-%m-%d"; $datestring="%Y-%m-%d";
......
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