From 4ccdd76aa3f20fac2c5321bb3ef5a6708551b76e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=8D=8E=E6=B8=85?= <18691022700@163.com> Date: Thu, 21 Aug 2025 11:15:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=A4=E5=8F=8B=E6=88=BF=E5=BC=80=E5=A7=8B?= =?UTF-8?q?=E6=8E=A8=E9=80=81=E6=B6=88=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/api/model/Chat.php | 4 ++++ application/api/model/Friend.php | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/application/api/model/Chat.php b/application/api/model/Chat.php index 01560bb..ce58b6e 100644 --- a/application/api/model/Chat.php +++ b/application/api/model/Chat.php @@ -99,6 +99,10 @@ class Chat extends Model // FriendRoomEnd = 1051, //交友房 私密小屋送礼增加结束时间 // FriendRoomGiftBlindBox = 1052, + //交友 房间换麦位 + // FriendRoomChangePit = 1053, + //交友 心动值变化 + // FriendRoomChangeCharm = 1054, diff --git a/application/api/model/Friend.php b/application/api/model/Friend.php index 70df8cd..ffe1f9f 100644 --- a/application/api/model/Friend.php +++ b/application/api/model/Friend.php @@ -346,7 +346,7 @@ class Friend extends Model //推送给前端消息 $text['text'] = '心动值变化通知'; $text['list'] = $heart; - model('api/Chat')->sendMsg(5061,$room_id,$text); + model('api/Chat')->sendMsg(1054,$room_id,$text); } // 获取心跳值排行 @@ -634,7 +634,7 @@ class Friend extends Model //推送给前端消息 $text['text'] = '房间换麦位'; $text['list'] = $data_users; - model('api/Chat')->sendMsg(5062,$room_id,$text); + model('api/Chat')->sendMsg(1053,$room_id,$text); } }