配置文件修改

This commit is contained in:
kerwincui
2022-04-22 01:31:23 +08:00
parent 412bc8e5d0
commit e9f94c4344
2 changed files with 61 additions and 68 deletions

View File

@@ -9,7 +9,7 @@ ruoyi:
# 实例演示开关
demoEnabled: true
# 文件路径 示例( Windows配置D:/wumei-smart/uploadPathLinux配置 /var/wumei-smart/java/uploadPath
profile: D:/wumei-smart/uploadPath
profile: /var/wumei-smart/java/uploadPath
# 获取ip地址开关
addressEnabled: true
# 验证码类型 math 数组计算 char 字符验证
@@ -48,9 +48,9 @@ spring:
servlet:
multipart:
# 单个文件大小
max-file-size: 10MB
max-file-size: 10MB
# 设置总上传的文件大小
max-request-size: 20MB
max-request-size: 20MB
# 服务模块
devtools:
restart:
@@ -65,8 +65,7 @@ spring:
# 数据库索引
database: 0
# 密码
# password: wumei-smart
# password: 123456
password: wumei-smart
# 连接超时时间
timeout: 10s
lettuce:
@@ -83,7 +82,7 @@ spring:
mqtt:
username: wumei-smart # 账号
password: wumei-smart # 密码
host-url: tcp://localhost:1883 # mqtt连接tcp地址
host-url: tcp://localhost:1883 # mqtt连接tcp地址
client-id: ${random.int} # 客户端Id不能相同采用随机数 ${random.value}
default-topic: test # 默认主题
timeout: 30000 # 超时时间
@@ -134,4 +133,4 @@ xss:
# 排除链接(多个用逗号分隔)
excludes: /system/notice
# 匹配链接
urlPatterns: /system/*,/monitor/*,/tool/*
urlPatterns: /system/*,/monitor/*,/tool/*