Commit c7041710 authored by zhangkuanguang's avatar zhangkuanguang

芜湖放心看

parent e688279c
...@@ -4873,13 +4873,6 @@ class Sell extends MY_Controller { ...@@ -4873,13 +4873,6 @@ class Sell extends MY_Controller {
if( $invalid_num > 0 ) if( $invalid_num > 0 )
{ {
$this->load->model('real_house_model');
$isRealHouse =$this->real_house_model->getInfoByRowid($rowid_str);
if($isRealHouse) {
$this->real_house_model->insertReal_House_Set_log($uid, $rowid_str, 0, 3);
$this->real_house_model->updateRealHouse($rowid_str);
}
//加载中间件统计类 //加载中间件统计类
$this->load->library('statistics'); $this->load->library('statistics');
...@@ -4910,6 +4903,20 @@ class Sell extends MY_Controller { ...@@ -4910,6 +4903,20 @@ class Sell extends MY_Controller {
foreach( $arr_id as $rowid ) foreach( $arr_id as $rowid )
{ {
$this->load->model('real_house_model');
$isRealHouse =$this->real_house_model->getInfoByRowid($rowid);
if($isRealHouse) {
//下架放心看
$this->load->model('zsb_api_model');
$re = $this->zsb_api_model->getRequrstData('cancleRealHouse',array('house_id'=>$rowid,'reason'=>3));
/* $this->real_house_model->insertReal_House_Set_log($uid, $rowid_str, 0, 3);
$this->real_house_model->updateRealHouse($rowid_str);*/
}
/*** 2、失效标签、Real房 ****/ /*** 2、失效标签、Real房 ****/
$house_info = array('id'=> $rowid); $house_info = array('id'=> $rowid);
$this->sell_tag_model->set_houseinfo($house_info); $this->sell_tag_model->set_houseinfo($house_info);
...@@ -4928,6 +4935,8 @@ class Sell extends MY_Controller { ...@@ -4928,6 +4935,8 @@ class Sell extends MY_Controller {
/*** 5、提交房源操作日志给MYSQL(经纪人日志查询),[$msg:4-失效房源] ***/ /*** 5、提交房源操作日志给MYSQL(经纪人日志查询),[$msg:4-失效房源] ***/
$this->sell_model->action_log( $agentcode , $uid , $tbl , $rowid , $msg); $this->sell_model->action_log( $agentcode , $uid , $tbl , $rowid , $msg);
} }
$page_text = '操作成功,共失效了'.$invalid_num.'条房源'; $page_text = '操作成功,共失效了'.$invalid_num.'条房源';
} }
......
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