Commit f5a990b5 authored by zhangjun's avatar zhangjun

修改

parent 961938ef
......@@ -205,6 +205,14 @@ class Rent extends MY_Controller {
请到您的房源管理里删除过期房源!");
return;
}
// 请求接口验证是否能发布房源(合肥)
if ( GB_CITY == 'hf' ) {
$brokerInfo = $this->broker_model->get_broker_info_new();
if ( !isset( $brokerInfo['license_number'] ) || empty( $brokerInfo['license_number'] ) ) {
$this->jump( $url_manage, '根据政策要求,房地产经纪机构以及公司从业人员,需至相关部门完成实名登记后方可发布房源;' );
return;
}
}
$data_page = array();
......@@ -1492,6 +1500,15 @@ class Rent extends MY_Controller {
$this->load->model('broker_model');
$this->broker_model->set_uid($uid);
$broker_info = $this->user_arr;
// 请求接口验证是否能发布房源(合肥)
if ( GB_CITY == 'hf' ) {
$brokerInfo = $this->broker_model->get_broker_info_new();
if ( !isset( $brokerInfo['license_number'] ) || empty( $brokerInfo['license_number'] ) ) {
$this->jump( $url_manage, '根据政策要求,房地产经纪机构以及公司从业人员,需至相关部门完成实名登记后方可发布房源;' );
return;
}
}
//房源核心数组
$house = $this->config->item('house');
......
......@@ -276,7 +276,14 @@ class Sell extends MY_Controller {
$this->load->model('broker_model');
$this->load->model('package_model');
// 请求接口验证是否能发布房源(合肥)
if ( GB_CITY == 'hf' ) {
$brokerInfo = $this->broker_model->get_broker_info_new();
if ( !isset( $brokerInfo['license_number'] ) || empty( $brokerInfo['license_number'] ) ) {
$this->jump( $url_manage, '根据政策要求,房地产经纪机构以及公司从业人员,需至相关部门完成实名登记后方可发布房源;' );
return;
}
}
$package = $this->package_model->find_by_id($package_id);
//判断库存量和套餐库存量
......@@ -4062,7 +4069,14 @@ class Sell extends MY_Controller {
$this->broker_model->set_uid($uid);
$broker_info = $this->user_arr;
// 请求接口验证是否能发布房源(合肥)
if ( GB_CITY == 'hf' ) {
$brokerInfo = $this->broker_model->get_broker_info_new();
if ( !isset( $brokerInfo['license_number'] ) || empty( $brokerInfo['license_number'] ) ) {
$this->jump( $url_manage, '根据政策要求,房地产经纪机构以及公司从业人员,需至相关部门完成实名登记后方可发布房源;' );
return;
}
}
//经纪人额外的信息
$broker = $this->broker_model->get_broker_info_by_uid($uid);
......
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