Update information.php

开放广告重复显示
master
hainatravel 1 year ago committed by GitHub
parent 1bf723fa3e
commit b477be6c85
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -3009,7 +3009,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') { //如果是AH的页面取消重复检测
if ($this->config->item('site_code') == 'ah' or $this->config->item('site_code') == 'ch' or $this->config->item('site_code') == 'gh') { //如果是AH CH GH的页面取消重复检测
$exclude_ids = array(0);
}
$result = $this->recommand_information_rule($information, $root_detail, $item, $exclude_ids);
@ -3449,4 +3449,4 @@ class Information extends CI_Controller
echo json_encode($data);
return true;
}
}
}

Loading…
Cancel
Save