Commit dec51088 authored by esf's avatar esf

bug

parent 644d84bf
......@@ -178,7 +178,6 @@ class Welcome extends MY_Controller
$today_stat['remainJtLable'] = $this->house_tag_package_model->get_tag_valid_num($uid,1);
$today_stat['jtLabelCount'] = isset($today_stat['jtLabelCount']) ? $today_stat['jtLabelCount'] : '';
//$today_stat['remainJtLable'] = isset($today_stat['remainJtLable']) ? $today_stat['remainJtLable'] : '';
/*** 未使用标签数据2015-5-16 zhou end***/
$this->load->model('broker_model');
......@@ -190,7 +189,7 @@ class Welcome extends MY_Controller
{
$info['accout_manager'] = $this->broker_model->get_account_manager($broker_detail['master']);//客户经理
}
$info['expiredate'] = $broker_detail['expiredate'] != '0000-00-00' ? date("Y-m-d", strtotime($broker_detail['expiredate'])) : '';
$info['remain_days'] = $this->get_days( $today , $info['expiredate']);
//帐号到期提醒设置cookies
......@@ -200,13 +199,13 @@ class Welcome extends MY_Controller
$growth_broker_pay_message = $this->growth_broker_pay_account($uid,$package_id);
//帐号快到期提醒扣除分值
$accountFailureScore = $this->accountFailure($package_id);
//是否提醒帐号已发虚假房源
//是否提醒帐号已发虚假房源
$is_warn = $this->is_warn($this->uid_arr['uid'],$this->uid_arr['is_warn']);
//生日祝福
//$is_birthday = $this->brithdayMessage();
/******** 2015-8-11 zhou 删除冻结提示 start*********/
/******** 2015-8-11 zhou 删除冻结提示 start*********/
$broker_delete_data = $this->welcome_model->get_delete_data($uid);
$broker_freeze_data = $this->welcome_model->get_freeze_data($uid);
......@@ -221,8 +220,8 @@ class Welcome extends MY_Controller
$broker_remind_set =$this->broker_model->get_broker_remind_set_by_uid($uid);
// 2016-2-15 获取360引导页数据 -----------end -------->
if(GB_CITY!='nj')
if(GB_CITY!='nj')
{
$this->broker_model->check_broker_refresh_num($uid,$package_id);
$this->broker_model->check_broker_growth_credit($uid);
......
......@@ -57,6 +57,7 @@ class GrowthExpWayPackage {
* @return array
*/
public function findDataByWayAliasAndPackageId($wayAlias, $packageId) {
$packageId = empty($packageId)?0:$packageId;
$sql = SqlCombinHelper::select_sql($this->table, self::$fields,
"way_alias = '$wayAlias' AND package_id = $packageId");
return $this->dbback->getRow($sql);
......
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