let socket = io("/server"); socket.on('connect', () => { socket.emit("auth:login", "test_app", "12345678") }) socket.on('auth:update', () => { socket.emit("user:update", "test", "测试用户") })