Commit 95cd57e3 by Huang Linyu

rm expired code

parent 8ac26110
......@@ -127,7 +127,7 @@ public class CallCenterController {
JSONObject commandJSONObject = null;
commandJSONObject = JSON.parseObject(eventJsonString);
String event = commandJSONObject.getString("event");
System.out.println("bbbbbbbbbbb: "+event);
// System.out.println("bbbbbbbbbbb: "+event);
if(StringUtils.isBlank(event)){
result = "收到的消息缺少event字段: "+ eventJsonString;
logger.warn(result);
......
......@@ -9,7 +9,7 @@
webSocket.onerror = function(event) {};
webSocket.onopen = function(event) {};
webSocket.onmessage = function(event) {
if(event.data.startsWith("/cc/tools/validCode")){
// if(event.data.startsWith("/cc/tools/validCode")){
/*var message = event.data;
var msgArr = message.split(" ");
var popupwin = window.open(msgArr[0], "用户来电通知");
......@@ -20,7 +20,7 @@
}*/
window.open(event.data);
}
// }
};
webSocket.onclose = function(event){};
......
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