|
|
|
@ -33,7 +33,7 @@ public class TestController extends BasicController {
|
|
|
|
|
|
|
|
|
|
@GetMapping("sendMsg")
|
|
|
|
|
@ApiOperation("发送消息")
|
|
|
|
|
public void sendMsg(String msg) {
|
|
|
|
|
webSocketServer.sendMessage(msg , null);
|
|
|
|
|
public void sendMsg(String msg, Integer warningId) {
|
|
|
|
|
webSocketServer.sendMessage(msg, warningId);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|