Commit d3a1cc4f by html5-李恒逸

修改渠道楼盘

parent a1d5e40a
......@@ -145,6 +145,19 @@ class Channeladmin extends CI_Controller
$data1['parent_id']=$parentId['parent_id'];
$this->channel->update(array('id'=>$parentId['channel_id']),$data1);
}
if ($this->input->post('region_id')) {
$parentId['region_id'] = implode(',',$this->input->post('region_id'));//地区
$data1=array();
$data1['region_id']=$parentId['region_id'];
$this->channel->update(array('id'=>$parentId['channel_id']),$data1);
}
if ($this->input->post('building_id')) {
$parentId['building_id'] = implode(',',$this->input->post('building_id'));//项目
$data1=array();
$data1['building_id']=$parentId['building_id'];
$this->channel->update(array('id'=>$parentId['channel_id']),$data1);
}
if($parentId['manager_pwd']!='' && $parentId['ag_pwd']!=''){
$manager_pwd=trim($parentId['manager_pwd']);
$ag_pwd=trim($parentId['ag_pwd']);
......
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