Browse Source

企业微信配置

develop
lau572 5 months ago
parent
commit
d909e46fc6
  1. 18
      ruoyi-admin/src/main/resources/application.yml

18
ruoyi-admin/src/main/resources/application.yml

@ -9,7 +9,7 @@ ruoyi:
# 实例演示开关 # 实例演示开关
demoEnabled: true demoEnabled: true
# 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath) # 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath)
profile: /home/jhdc/uploadPath profile: D:/ruoyi/uploadPath
# 获取ip地址开关 # 获取ip地址开关
addressEnabled: false addressEnabled: false
# 验证码类型 math 数组计算 char 字符验证 behavioral 行为验证码(拖动式与点触式) # 验证码类型 math 数组计算 char 字符验证 behavioral 行为验证码(拖动式与点触式)
@ -52,9 +52,9 @@ spring:
servlet: servlet:
multipart: multipart:
# 单个文件大小 # 单个文件大小
max-file-size: 10MB max-file-size: 50MB
# 设置总上传的文件大小 # 设置总上传的文件大小
max-request-size: 20MB max-request-size: 50MB
# 服务模块 # 服务模块
devtools: devtools:
restart: restart:
@ -153,10 +153,18 @@ aj:
# 滑动干扰项(0/1/2) # 滑动干扰项(0/1/2)
interference-options: 2 interference-options: 2
#企业微信相关配置
qywx:
#企业id
corpId: wwbb5e2eec056ee059
#应用密钥
corpsecret: H4ATFI7nxnzp2XwvsPlutxQuWMkqolL8MINBLoDNTbw
#应用id
agentId: 1000004
iot: iot:
# 物联平台地址 # 物联平台地址
address: https://10.0.81.202:8081 address: http://10.0.111.11:8081
# redis 配置 # redis 配置
redis: redis:
# 地址 # 地址
@ -183,4 +191,4 @@ iot:
# 允许访问的ip地址 # 允许访问的ip地址
allowed: allowed:
ips: 10.0.81.202,10.168.73.54,10.168.71.194, ips: 10.0.111.11,10.168.73.54,10.168.71.194

Loading…
Cancel
Save