摘要:
var message = new Object();message.event = "test";message.params = new Object();message.params.a = "dfasgasgsg"; var json = JSON.stringify(message); c 阅读全文
摘要:
1.测试类参数 public JsonResult<String> test(@SocketParam("a") String a) {//自定义注解的参数和方法的参数名字相同 JsonResult<String> reSocket = new JsonResult<>(); reSocket.se 阅读全文