交友结束处理
This commit is contained in:
@@ -38,6 +38,8 @@ class Friend extends Model
|
|||||||
}
|
}
|
||||||
//修改房间状态
|
//修改房间状态
|
||||||
db::name('vs_room')->where(['id' => $room_id])->update(['step' => 2]);
|
db::name('vs_room')->where(['id' => $room_id])->update(['step' => 2]);
|
||||||
|
//清除房间用户的魅力
|
||||||
|
model('Room')->clear_user_charm($user_id, $room_id);
|
||||||
|
|
||||||
//推送给前端消息
|
//推送给前端消息
|
||||||
$text['text'] = '交友开始';
|
$text['text'] = '交友开始';
|
||||||
|
|||||||
Reference in New Issue
Block a user