sessoin关闭问题
This commit is contained in:
@@ -173,7 +173,6 @@ public class AppWebSocketServer {
|
||||
// userMap.remove(tableId + "-" + shopId);
|
||||
// }
|
||||
}
|
||||
session.close();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -241,8 +240,6 @@ public class AppWebSocketServer {
|
||||
jsonObject1.put("data", new ArrayList<>());
|
||||
jsonObject1.put("amount", num);
|
||||
sendMessage(jsonObject1);
|
||||
}else if("close".equals(jsonObject.getString("type"))){
|
||||
onClose();
|
||||
}else {
|
||||
rabbitProducer.putCart(jsonObject.toJSONString());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user