feat:增加设备属性websocket推送功能

This commit is contained in:
yanshikui
2024-12-27 17:24:37 +08:00
parent d1c6019166
commit aaff6b7478
5 changed files with 208 additions and 12 deletions

View File

@@ -42,11 +42,19 @@ logging:
# Spring配置
spring:
rabbitmq:
host: 192.168.1.194 # RabbitMQ 服务的地址
port: 5672 # RabbitMQ 服务的端口
username: mes # RabbitMQ 服务的账号
password: mes # RabbitMQ 服务的密码
virtual-host: / # 默认虚拟主机
consumer:
batchSize: 100 # 消费者每次拉取消息的数量
# 资源信息
messages:
# 国际化资源文件路径
basename: i18n/messages
profiles:
profiles:
active: druid
# 文件上传
servlet:
@@ -63,13 +71,13 @@ spring:
# redis 配置
redis:
# 地址
host: localhost
host: 192.168.1.254
# 端口默认为6379
port: 6379
# 数据库索引
database: 0
# 密码
password:
password:
# 连接超时时间
timeout: 10s
lettuce:
@@ -91,7 +99,7 @@ token:
secret: abcdefghijklmnopqrstuvwxyz
# 令牌有效期默认30分钟
expireTime: 30
# MyBatis配置
mybatis:
# 搜索指定包别名
@@ -102,10 +110,10 @@ mybatis:
configLocation: classpath:mybatis/mybatis-config.xml
# PageHelper分页插件
pagehelper:
pagehelper:
helperDialect: mysql
supportMethodsArguments: true
params: count=countSql
params: count=countSql
# Swagger配置
swagger:
@@ -116,7 +124,7 @@ swagger:
pathMapping: /dev-api
# 防止XSS攻击
xss:
xss:
# 过滤开关
enabled: true
# 排除链接(多个用逗号分隔)
@@ -126,7 +134,7 @@ xss:
#Mino配置
minio:
url: http://127.0.0.1:9000
accessKey: your_key
secretKey: your_secret
bucketName: ktg-mes
url: http://192.168.1.254:9000
accessKey: minioadmin
secretKey: minioadmin
bucketName: lx-mes