Commit 48c987fb authored by leiming's avatar leiming

1、消息对接调整

parent 4aab2fed
Pipeline #6411 canceled with stages
...@@ -78,7 +78,10 @@ public class VoiceWebSocketServer { ...@@ -78,7 +78,10 @@ public class VoiceWebSocketServer {
if("sendText".equals(map.get("action"))){ if("sendText".equals(map.get("action"))){
msg = (String)map.get("data"); msg = (String)map.get("data");
} }
maxkbOpenApiService.talk(message,session); if(msg != null && !"".equals(msg)){
maxkbOpenApiService.talk(msg,session);
}
} }
// @OnMessage // @OnMessage
......
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