...
This commit is contained in:
parent
95e59c82f4
commit
cd082d34d2
|
@ -64,7 +64,7 @@ public class WebSocketServer {
|
|||
|
||||
@OnMessage
|
||||
public void onMessage(Session session, String msg) {
|
||||
log.info("session id: " + session.getId() + ", message:" + msg);
|
||||
log.info("session id: " + session.getId() + "userId:{}, message:" + msg, servers.get(session.getId()).getUserId());
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue