Commit c96e2d19 authored by esf's avatar esf

合并分支 'release_zj_report' 到 'master'

房源详情上报

查看合并请求 !8
parents 0ff3b6cf 23cc338e
......@@ -828,6 +828,10 @@ class Rent extends MY_Controller {
refresh_house($uid, $tbl, $house_id);
}
$this->rent_model->action_log($companycode, $uid, $tbl, $house_id, 7);
// 上报房源房源详情地址到百度
$url = 'http://newrent.house365.com/api/tf-app/add-house-detail-report-job?city='. GB_CITY .'&tbl=rent&house_id=' . $house_id;
$this->curl_get($url);
}
//中间件数据提交接口
$this->load->library('statistics');
......@@ -852,6 +856,7 @@ class Rent extends MY_Controller {
}
$this->statistics->sub_operatecount($uid,$companycode,1,$house_id,
'', $tbl, $domain, $parentcode);
//$page_text = "房源发布成功!" . $growthMessage;
$page_text = "房源发布成功!" ;
}
......
......@@ -1297,6 +1297,10 @@ class Sell extends MY_Controller {
refresh_house($uid, $tbl, $house_id);
}
$this->sell_model->action_log($companycode, $uid, $tbl, $house_id, 7);
// 上报房源房源详情地址到百度
$url = 'http://newrent.house365.com/api/tf-app/add-house-detail-report-job?city='. GB_CITY .'&house_id=' . $house_id;
$this->curl_get_contents($url);
}
//中间件数据提交接口
$this->load->library('statistics');
......
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