# message **Repository Path**: null_983_9439/message ## Basic Information - **Project Name**: message - **Description**: 简单案例--springboot 集成websocket 实现后台主动向前端推送数据。 - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 2 - **Created**: 2022-09-24 - **Last Updated**: 2022-09-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # message #### 项目介绍 简单案例--springboot 集成websocket 实现后台主动向前端推送数据。 #### 软件架构 springboot+websocket #### 部署说明 建议使用idea代码工具 1. 修改数据库配置--application.properties,改一个本地有的数据库就可以 #### 使用说明 1. 访问 localhost:8080 打开首页 2. 调用 localhost:8080/checkcenter/socket/push/22?message=hello, 此接口推送消息到首页 3. 再看首页可以看到后台推送的消息以及语音