Commit 4aab2fed authored by leiming's avatar leiming

1、告警&注释优化

parent 4122cde8
Pipeline #6410 canceled with stages
......@@ -71,8 +71,10 @@ public class VoiceWebSocketServer {
public void onTextMessage(Session session,String message) throws IOException {
// session.setMaxBinaryMessageBufferSize(50 * 1024 * 1024);
log.info("message:{}",message);
@SuppressWarnings({"unchecked"})
Map<String,Object> map = JSON.parseObject(message,Map.class);
String msg = "";
// 文字聊天
if("sendText".equals(map.get("action"))){
msg = (String)map.get("data");
}
......
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 to comment