交友结束处理

This commit is contained in:
2025-09-10 18:51:31 +08:00
parent c9381ffa61
commit 902baa4458

View File

@@ -38,6 +38,8 @@ class Friend extends Model
}
//修改房间状态
db::name('vs_room')->where(['id' => $room_id])->update(['step' => 2]);
//清除房间用户的魅力
model('Room')->clear_user_charm($user_id, $room_id);
//推送给前端消息
$text['text'] = '交友开始';