From 5d509465c5a631915ab02104830a53b708573413 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=8D=8E=E6=B8=85?= <18691022700@163.com> Date: Tue, 19 Aug 2025 10:20:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=A4=E5=8F=8B=E5=BC=80=E5=A7=8B=E8=BF=94?= =?UTF-8?q?=E5=9B=9E=E6=95=B0=E6=8D=AE=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/api/model/Friend.php | 1 + 1 file changed, 1 insertion(+) diff --git a/application/api/model/Friend.php b/application/api/model/Friend.php index 3bf4778..9d6dbba 100644 --- a/application/api/model/Friend.php +++ b/application/api/model/Friend.php @@ -40,6 +40,7 @@ class Friend extends Model //推送给前端消息 $text['text'] = '交友开始'; $text['step'] = 2; + $text['friend_id'] = $id; model('api/Chat')->sendMsg(1039,$room_id,$text); return ['code' => 1, 'msg' => '操作成功!', 'data' => ['friend_id' => $id]]; }else{