From 3613548743d5dc6d195a6dde90ae0f26834dfb22 Mon Sep 17 00:00:00 2001 From: wanghongjun <1445693971@qq.com> Date: Mon, 30 Jun 2025 10:31:58 +0800 Subject: [PATCH] =?UTF-8?q?@at=E4=B8=8D=E8=83=BD=E5=AE=9E=E6=97=B6?= =?UTF-8?q?=E9=97=AE=E9=A2=98=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/enterprise/controller/Im.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/enterprise/controller/Im.php b/app/enterprise/controller/Im.php index 61d2e59..d35708b 100644 --- a/app/enterprise/controller/Im.php +++ b/app/enterprise/controller/Im.php @@ -239,7 +239,7 @@ class Im extends BaseController $atList=(new Message())->where(['chat_identify'=>$chat_identify,'is_group'=>1])->whereFindInSet('at',$this->userInfo['user_id'])->order('msg_id desc')->select()->toArray(); $msgIda=array_column($atList,'msg_id'); // 如果两次推送at数据的列表不一样,则推送 - if($isPush!=json_encode($msgIda)){ + //if($isPush!=json_encode($msgIda)){ $atData=$this->recombileMsg($atList,false); wsSendMsg($this->userInfo['user_id'],'atMsgList',[ 'list'=>$atData, @@ -247,7 +247,7 @@ class Im extends BaseController 'toContactId'=>$param['toContactId'] ]); Cache::set('atMsgPush'.$chat_identify,json_encode($msgIda),60); - } + //} } // 如果是消息管理器则不用倒序 if (!isset($param['type'])) {