|
|
@@ -44,8 +44,8 @@ public class SpelTest {
|
|
|
|
|
|
JSONObject obj = new JSONObject();
|
|
|
obj.put("type", "before");
|
|
|
- obj.put("id", 1);
|
|
|
- webSocket.sendMessage("172.20.10.4",obj.toJSONString());
|
|
|
+ obj.put("id", 23);
|
|
|
+ webSocket.pushMessage("192.168.0.101",obj.toJSONString());
|
|
|
}
|
|
|
|
|
|
@Test
|