update 优化 ruoyi-resource 服务添加 websocket 模块

2.X
疯狂的狮子Li 2 years ago
parent 05b723248b
commit 631684666f

@ -26,6 +26,13 @@ spring:
# username: ${datasource.system-postgres.username} # username: ${datasource.system-postgres.username}
# password: ${datasource.system-postgres.password} # password: ${datasource.system-postgres.password}
websocket:
enabled: true
# 路径
path: /websocket
# 设置访问源地址
allowedOrigins: '*'
mail: mail:
enabled: false enabled: false
host: smtp.163.com host: smtp.163.com

@ -105,6 +105,11 @@
<artifactId>ruoyi-common-translation</artifactId> <artifactId>ruoyi-common-translation</artifactId>
</dependency> </dependency>
<dependency>
<groupId>org.dromara</groupId>
<artifactId>ruoyi-common-websocket</artifactId>
</dependency>
<!-- RuoYi Api System --> <!-- RuoYi Api System -->
<dependency> <dependency>
<groupId>org.dromara</groupId> <groupId>org.dromara</groupId>

Loading…
Cancel
Save