【详解】springboot 集成 websocket实现网页版实时聊天
1.application.yml 配置文件
server:
port: 8080
spring:
thymeleaf:
prefix: classpath:/view/
suffix: .html
encoding: UTF-8
servlet:
content-type: text/html
# 生产环境设置true
cache: false
2.pom.xml
<project xmlns="http://
原创
2021-02-19 09:15:03 ·
666 阅读 ·
3 评论