|
|
|
@ -2828,7 +2828,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的页面,取消重复检测
|
|
|
|
|
$exclude_ids=[];
|
|
|
|
|
$exclude_ids=array();
|
|
|
|
|
}
|
|
|
|
|
$result = $this->recommand_information_rule($information, $root_detail, $item, $exclude_ids);
|
|
|
|
|
if (!empty($result)) {
|
|
|
|
@ -2838,7 +2838,7 @@ class Information extends CI_Controller
|
|
|
|
|
|
|
|
|
|
foreach ($group_recommands as $item) {
|
|
|
|
|
if ($this->config->item('site_code') == 'ah') { //如果是AH的页面,取消重复检测
|
|
|
|
|
$exclude_ids=[];
|
|
|
|
|
$exclude_ids=array();
|
|
|
|
|
}
|
|
|
|
|
if (empty($data[$item->ir_name])) {
|
|
|
|
|
$result = $this->recommand_information_rule($information, $root_detail, $item, $exclude_ids);
|
|
|
|
|