更新
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
module.exports = {
|
||||
name : "离开房间",
|
||||
doc : ``,
|
||||
params: {
|
||||
// "room_name": 'string',//房间
|
||||
// "uid" : 'string',//用户id
|
||||
},
|
||||
fun : (socket, {msg, onname, callback}) => {
|
||||
console.log('离开房间:', socket.id);
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user