Commit 44490670 by zhangchen

加入日志

parent b40f892f
......@@ -199,6 +199,7 @@ public class FaceWebSocket {
for (FaceWebSocket item : clients.values()) {
if(item.username.equals(To) ){
logger.info("002sendmessage-->"+message);
item.session.getAsyncRemote().sendText(message);
}
......
......@@ -213,7 +213,7 @@ public class UserMController {
uu.setFaceImage(faceImage);
res.setBody(uu);
try {
logger.info("推送消息内容"+res.toString());
logger.info("004推送消息内容"+res.toString());
websocket.sendMessageTo(JSON.toJSONString(res), key);
} catch (IOException e) {
e.printStackTrace();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment