This commit is contained in:
robin
2022-07-07 22:16:39 +08:00
parent 264ab8d979
commit a9a4bd0981
86 changed files with 1198 additions and 310 deletions
+12
View File
@@ -0,0 +1,12 @@
module.exports = {
name : "离开房间",
doc : ``,
params: {
// "room_name": 'string',//房间
// "uid" : 'string',//用户id
},
fun : (socket, {msg, onname, callback}) => {
console.log('断线:', socket.id);
}
}