diff --git a/application/controllers/information.php b/application/controllers/information.php index 948c06b7..5b83ce04 100644 --- a/application/controllers/information.php +++ b/application/controllers/information.php @@ -830,6 +830,9 @@ class Information extends CI_Controller } else if ($this->config->item('site_code') == 'ah') { $this->make_www_cache_ah('pc', $information, $recommand_information); $this->make_www_cache_ah('mobile', $information, $recommand_information); + }else if ($this->config->item('site_code') == 'jh') { + $this->make_www_cache_jh('pc', $information, $recommand_information); + $this->make_www_cache_jh('mobile', $information, $recommand_information); } else if ($this->config->item('site_code') == 'chinatravel') { $this->make_www_cache_ct($information); // $this->make_www_cache_ct('mobile', $information); @@ -5164,7 +5167,7 @@ class Information extends CI_Controller $exclude_ids = array($information->is_id); //需要排除的is_id,防止通过页面显示相同内容,默认排除本身,每个推荐内容都需要排除已经推荐过的 foreach ($root_recommands as $item) { - if ($this->config->item('site_code') == 'ah' or $this->config->item('site_code') == 'ch' or $this->config->item('site_code') == 'gh') { //如果是AH CH GH的页面,取消重复检测 + if ($this->config->item('site_code') == 'ah' or $this->config->item('site_code') == 'ch' or $this->config->item('site_code') == 'gh' or $this->config->item('site_code') == 'jh') { //如果是AH CH GH的页面,取消重复检测 $exclude_ids = array(0); } $result = $this->recommand_information_rule($information, $root_detail, $item, $exclude_ids); @@ -5174,7 +5177,7 @@ class Information extends CI_Controller } foreach ($group_recommands as $item) { - if ($this->config->item('site_code') == 'ah' or $this->config->item('site_code') == 'ch' or $this->config->item('site_code') == 'gh') { //如果是AH CH GH的页面,取消重复检测 + if ($this->config->item('site_code') == 'ah' or $this->config->item('site_code') == 'ch' or $this->config->item('site_code') == 'gh' or $this->config->item('site_code') == 'jh') { //如果是AH CH GH JH的页面,取消重复检测 $exclude_ids = array(0); } if (empty($data[$item->ir_name])) { diff --git a/application/views/mobile_first/jh-next-mobile.php b/application/views/mobile_first/jh-next-mobile.php index 53548661..b4b49ae2 100644 --- a/application/views/mobile_first/jh-next-mobile.php +++ b/application/views/mobile_first/jh-next-mobile.php @@ -5,7 +5,7 @@
@@ -17,7 +17,7 @@
@@ -29,7 +29,7 @@
@@ -41,7 +41,7 @@
@@ -61,7 +61,7 @@
@@ -76,7 +76,7 @@