From aefdcaba02d7959167f3d143b8865909bb8a98a8 Mon Sep 17 00:00:00 2001 From: YCC Date: Tue, 19 Dec 2023 10:26:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=81=E8=AE=B8ch=E5=92=8Cgh=E7=9A=84?= =?UTF-8?q?=E5=B9=BF=E5=91=8A=E9=87=8D=E5=A4=8D=E5=87=BA=E7=8E=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/controllers/information.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/controllers/information.php b/application/controllers/information.php index 8d39c8b3..1ee95a3d 100644 --- a/application/controllers/information.php +++ b/application/controllers/information.php @@ -2827,7 +2827,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的页面,取消重复检测 $exclude_ids=array(0); } $result = $this->recommand_information_rule($information, $root_detail, $item, $exclude_ids);