更新JH缓存

master
YCC 1 year ago
parent 56e1fbb214
commit aa12be6112

@ -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])) {

@ -5,7 +5,7 @@
<?php if(!empty($recommands['Tour A'])){ ?>
<div class="nextarticle">
<a href="<?php echo $recommands['Tour A']->ic_url; ?>" id="bottom_tour_a_image_mobile"> <img src="https://data.asiahighlights.com/grey.gif" loader="lazy"
<a href="<?php echo $recommands['Tour A']->ic_url; ?>" id="bottom_tour_a_image_mobile"> <img src="https://data.japanhighlights.com/grey.gif" loader="lazy"
originalsrc="<?php echo $recommands['Tour A']->mobile_photo; ?>"
class="img-responsive" alt="<?php echo $recommands['Tour A']->ic_title; ?>"></a>
@ -17,7 +17,7 @@
<?php if(!empty($recommands['Tour B'])){ ?>
<div class="nextarticle">
<a href="<?php echo $recommands['Tour B']->ic_url; ?>" id="bottom_tour_b_image_mobile"> <img src="https://data.asiahighlights.com/grey.gif" loader="lazy"
<a href="<?php echo $recommands['Tour B']->ic_url; ?>" id="bottom_tour_b_image_mobile"> <img src="https://data.japanhighlights.com/grey.gif" loader="lazy"
originalsrc="<?php echo $recommands['Tour B']->mobile_photo; ?>"
class="img-responsive" alt="<?php echo $recommands['Tour B']->ic_title; ?>"></a>
@ -29,7 +29,7 @@
<?php if(!empty($recommands['Tour C'])){ ?>
<div class="nextarticle">
<a href="<?php echo $recommands['Tour C']->ic_url; ?>" id="bottom_tour_c_image_mobile"> <img src="https://data.asiahighlights.com/grey.gif" loader="lazy"
<a href="<?php echo $recommands['Tour C']->ic_url; ?>" id="bottom_tour_c_image_mobile"> <img src="https://data.japanhighlights.com/grey.gif" loader="lazy"
originalsrc="<?php echo $recommands['Tour C']->mobile_photo; ?>"
class="img-responsive" alt="<?php echo $recommands['Tour C']->ic_title; ?>"></a>
@ -41,7 +41,7 @@
<?php if(!empty($recommands['Tour D'])){ ?>
<div class="nextarticle">
<a href="<?php echo $recommands['Tour D']->ic_url; ?>" id="bottom_tour_d_image_mobile"> <img src="https://data.asiahighlights.com/grey.gif" loader="lazy"
<a href="<?php echo $recommands['Tour D']->ic_url; ?>" id="bottom_tour_d_image_mobile"> <img src="https://data.japanhighlights.com/grey.gif" loader="lazy"
originalsrc="<?php echo $recommands['Tour D']->mobile_photo; ?>"
class="img-responsive" alt="<?php echo $recommands['Tour D']->ic_title; ?>"></a>
@ -61,7 +61,7 @@
<?php if(!empty($recommands['Article A'])){ ?>
<div class="nextarticle">
<a href="<?php echo $recommands['Article A']->ic_url; ?>" id="bottom_info_a_image_mobile"> <img src="https://data.asiahighlights.com/grey.gif" loader="lazy"
<a href="<?php echo $recommands['Article A']->ic_url; ?>" id="bottom_info_a_image_mobile"> <img src="https://data.japanhighlights.com/grey.gif" loader="lazy"
originalsrc="<?php echo $recommands['Article A']->mobile_photo; ?>"
class="img-responsive" alt="<?php echo $recommands['Article A']->ic_title; ?>"></a>
@ -76,7 +76,7 @@
<div class="nextarticle">
<a href="<?php echo $recommands['Article B']->ic_url; ?>" id="bottom_info_b_image_mobile"></a> <img
src="https://data.asiahighlights.com/grey.gif" loader="lazy"
src="https://data.japanhighlights.com/grey.gif" loader="lazy"
originalsrc="<?php echo $recommands['Article B']->mobile_photo; ?>"
class="img-responsive" alt="<?php echo $recommands['Article B']->ic_title; ?>"></a>
@ -92,7 +92,7 @@
<div class="nextarticle">
<a href="<?php echo $recommands['Article C']->ic_url; ?>" id="bottom_info_c_image_mobile"> <img
src="https://data.asiahighlights.com/grey.gif" loader="lazy"
src="https://data.japanhighlights.com/grey.gif" loader="lazy"
originalsrc="<?php echo $recommands['Article C']->mobile_photo; ?>"
class="img-responsive" alt="<?php echo $recommands['Article C']->ic_title; ?>"></a>
@ -108,7 +108,7 @@
<div class="nextarticle">
<a href="<?php echo $recommands['Article D']->ic_url; ?>" id="bottom_info_d_image_mobile"> <img
src="https://data.asiahighlights.com/grey.gif" loader="lazy"
src="https://data.japanhighlights.com/grey.gif" loader="lazy"
originalsrc="<?php echo $recommands['Article D']->mobile_photo; ?>"
class="img-responsive" alt="<?php echo $recommands['Article D']->ic_title; ?>"></a>

@ -10,7 +10,7 @@
<?php if(!empty($recommands['Tour A'])){ ?>
<td> <div class="nextarticle">
<a href="<?php echo $recommands['Tour A']->ic_url; ?>" id="bottom_tour_a_image"> <img src="https://data.asiahighlights.com/grey.gif" loader="lazy"
<a href="<?php echo $recommands['Tour A']->ic_url; ?>" id="bottom_tour_a_image"> <img src="https://data.japanhighlights.com/grey.gif" loader="lazy"
originalsrc="<?php echo $recommands['Tour A']->mobile_photo; ?>"
class="img-responsive" alt="<?php echo $recommands['Tour A']->ic_title; ?>"></a>
@ -22,7 +22,7 @@
<?php if(!empty($recommands['Tour B'])){ ?>
<td> <div class="nextarticle">
<a href="<?php echo $recommands['Tour B']->ic_url; ?>" id="bottom_tour_b_image"> <img src="https://data.asiahighlights.com/grey.gif" loader="lazy"
<a href="<?php echo $recommands['Tour B']->ic_url; ?>" id="bottom_tour_b_image"> <img src="https://data.japanhighlights.com/grey.gif" loader="lazy"
originalsrc="<?php echo $recommands['Tour B']->mobile_photo; ?>"
class="img-responsive" alt="<?php echo $recommands['Tour B']->ic_title; ?>"></a>
@ -34,7 +34,7 @@
<?php if(!empty($recommands['Tour C'])){ ?>
<td> <div class="nextarticle">
<a href="<?php echo $recommands['Tour C']->ic_url; ?>" id="bottom_tour_c_image"> <img src="https://data.asiahighlights.com/grey.gif" loader="lazy"
<a href="<?php echo $recommands['Tour C']->ic_url; ?>" id="bottom_tour_c_image"> <img src="https://data.japanhighlights.com/grey.gif" loader="lazy"
originalsrc="<?php echo $recommands['Tour C']->mobile_photo; ?>"
class="img-responsive" alt="<?php echo $recommands['Tour C']->ic_title; ?>"></a>
@ -46,7 +46,7 @@
<?php if(!empty($recommands['Tour D'])){ ?>
<td> <div class="nextarticle">
<a href="<?php echo $recommands['Tour D']->ic_url; ?>" id="bottom_tour_d_image"> <img src="https://data.asiahighlights.com/grey.gif" loader="lazy"
<a href="<?php echo $recommands['Tour D']->ic_url; ?>" id="bottom_tour_d_image"> <img src="https://data.japanhighlights.com/grey.gif" loader="lazy"
originalsrc="<?php echo $recommands['Tour D']->mobile_photo; ?>"
class="img-responsive" alt="<?php echo $recommands['Tour D']->ic_title; ?>"></a>
@ -72,7 +72,7 @@
<?php if(!empty($recommands['Article A'])){ ?>
<td>
<div class="nextarticle">
<a href="<?php echo $recommands['Article A']->ic_url; ?>" id="bottom_info_a_image"> <img src="https://data.asiahighlights.com/grey.gif" loader="lazy"
<a href="<?php echo $recommands['Article A']->ic_url; ?>" id="bottom_info_a_image"> <img src="https://data.japanhighlights.com/grey.gif" loader="lazy"
originalsrc="<?php echo $recommands['Article A']->mobile_photo; ?>"
class="img-responsive" alt="<?php echo $recommands['Article A']->ic_title; ?>"></a>
@ -87,7 +87,7 @@
<td>
<div class="nextarticle">
<a href="<?php echo $recommands['Article B']->ic_url; ?>" id="bottom_info_b_image"> <img
src="https://data.asiahighlights.com/grey.gif" loader="lazy"
src="https://data.japanhighlights.com/grey.gif" loader="lazy"
originalsrc="<?php echo $recommands['Article B']->mobile_photo; ?>"
class="img-responsive" alt="<?php echo $recommands['Article B']->ic_title; ?>"></a>
@ -103,7 +103,7 @@
<td>
<div class="nextarticle">
<a href="<?php echo $recommands['Article C']->ic_url; ?>" id="bottom_info_c_image"> <img
src="https://data.asiahighlights.com/grey.gif" loader="lazy"
src="https://data.japanhighlights.com/grey.gif" loader="lazy"
originalsrc="<?php echo $recommands['Article C']->mobile_photo; ?>"
class="img-responsive" alt="<?php echo $recommands['Article C']->ic_title; ?>"></a>
@ -119,7 +119,7 @@
<td>
<div class="nextarticle">
<a href="<?php echo $recommands['Article D']->ic_url; ?>" id="bottom_info_d_image"> <img
src="https://data.asiahighlights.com/grey.gif" loader="lazy"
src="https://data.japanhighlights.com/grey.gif" loader="lazy"
originalsrc="<?php echo $recommands['Article D']->mobile_photo; ?>"
class="img-responsive" alt="<?php echo $recommands['Article D']->ic_title; ?>"></a>

Loading…
Cancel
Save