feat: format and rebuild

Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
2019-06-29 17:02:30 +08:00
parent aeedbc4222
commit f541290f47
12 changed files with 33 additions and 57 deletions

View File

@@ -1,6 +1,6 @@
import { lazyInjectNamed } from '@cc-server/ioc'
import { controller, httpPost, requestBody } from '@cc-server/binding';
import { namespace, listener, interfaces, io, TYPE } from '@cc-server/ws'
import { lazyInjectNamed } from '@cc-server/ioc'
@namespace('/', (socket: io.Socket, next: (err?: any) => void) => {
console.log(socket.nsp.name, socket.id, 'before connection');