Commit 4c855a84 authored by zhangkuanguang's avatar zhangkuanguang

芜湖放心看

parent b5d4bb29
......@@ -11,7 +11,7 @@
</fileTransfer>
</webServer>
<webServer id="67fb6ca5-037a-4b69-abe5-05e315a02402" name="192.168.105.106" url="http://192.168.105.106">
<fileTransfer host="192.168.105.106" port="21" rootFolder="/preview_release/fenzhan_agent">
<fileTransfer host="192.168.105.106" port="21" rootFolder="/webroot/fenzhan_agent">
<advancedOptions>
<advancedOptions dataProtectionLevel="Private" passiveMode="true" shareSSLContext="true" />
</advancedOptions>
......
......@@ -75,12 +75,13 @@ class zsb_api_model extends MY_Model{
public function getToken(){
$token = $this->mc->get($this->token);
$uid = $this->user_arr['uid'];
$token = $this->mc->get($this->token.'_'.$uid);
if($token){
return $token;
}
$url = $this->getApiFullUrl('getToken');
$param['uid'] = $this->user_arr['uid'];
$param['uid'] = $uid;
$param['city'] = GB_CITY;
$data = $this->httpRequest($url,array(),$param);
if(!$data){
......
......@@ -4043,7 +4043,7 @@ class Sell extends MY_Controller {
*/
public function manage( $house_esta = 'active' , $page = 1)
{
$realHouse = $this->config->item('realHouse');
$realHouse = $this->config->item('is_open_real_house');
//post参数
$post_param = $this->input->post( NULL , TRUE );
......@@ -4694,16 +4694,6 @@ class Sell extends MY_Controller {
$data['balance'] =$balance; //经纪人账户余额
$data['realHouse'] =$realHouse; //是否开启真房源功能
//2018-07-24 放心看功能 重写规则
$data['realHouse'] = 0;
if(array_key_exists('real_status',$broker_info_1[0])){
if($broker_info_1[0]['real_status']){
$data['realHouse'] = 1;
$statistic_data['realHouseRemainCount'] = 0;
}
}
$data['realHouseMoney'] = $this->config->item('realHouseMoney'); //真房源默认价格
//var_dump($data);die;
......@@ -4834,7 +4824,6 @@ class Sell extends MY_Controller {
}
}
//中秋节期间提示语
$data['tishi'] = $this->guojie();
......
......@@ -460,12 +460,8 @@
<?php } ?>
<?php }?>
<?php
if(($realHouse==1) && ($value['infotype']==1 || $value['infotype']==2) && GB_CITY=='nj') {
<?php if(($realHouse==1) && ($value['infotype']==1 || $value['infotype']==2)) { ?>
/* if(($realHouse==1) && ($balance==$realHouseMoney) && ($value['infotype']==1)) {*/ ?>
<?php if(in_array($value['district'],array('建邺区','雨花台区','秦淮区','栖霞区','玄武区','鼓楼区','江宁区','浦口区'))){?>
<?php if($value['is_real_house']==1){?>
<div class="pic" onClick="change_real(<?php echo $value['id']; ?>, '<?php echo md5("HOUSE365_REAL_SET_".$value["id"]);?>')">
<img alt="取消放心看设置" src="<?=STATIC_SOURCE_URL?>/zsb/images/v1.0/look.png" />
......@@ -491,8 +487,8 @@
</div>
<?php } ?>
<?php }?>
<?php } ?>
<?php }?>
<?php
$vrs = 0;
if($svrshow){
......
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