You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

181 lines
4.5 KiB
YAML

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# 项目相关配置
ehs:
# 名称
name: ehs
# 版本
version: 1.0.0
# 版权年份
copyrightYear: 2019
# 文件上传路径 末尾加上 /
profile: /home/road_traffic_ehs/
# 获取ip地址开关
addressEnabled: true
# 风险等级审核配置
riskLevelConfig:
#一级风险
oneLevel: 2
#二级风险
twoLevel: 2
#三级风险
threeLevel: 2
#四级风险
fourLevel: 2
#是否测试环境 0正式环境,1测试环境
isTest: 0
#监管端是否是分级监管 0 不是,1 是
isArea: 1
#钉钉配置
dd:
corpid: dingolnnw1um42wuvlce
corpsecret: qqIjhBj_MU0vncd0U5sUGMCgYX1CIi3pjglbqksq5lLcxxVw1uTFsO2fvjeFRcYx
rootDept: 79365444
#corpid: dinglykasu8lomjwrd22
#corpsecret: mXJoReNL-fydd6hLC2NbKN-OLltexTpJk4R6-IbtN1l95hHgkfYrtoZCLEjEBEj3
#corpid: dingolnnw1um42wuvlce
#corpsecret: qqIjhBj_MU0vncd0U5sUGMCgYX1CIi3pjglbqksq5lLcxxVw1uTFsO2fvjeFRcYx
defaultPWD: 123456
appServer: http://39.101.207.PPPP/ehs-app-standard-temp/pages/main/login2.html?_goUrl=http://39.101.207.83/ehs-app-standard-temp/
serviceUrl: http://39.101.207.83/
#三门峡云短信的配置
sm:
apiKey: ea22911be08ae9b8675542a5d682c6e7
secretKey: 71d9ca94daf78a5bc67914c6d729097d24272bc6d4309ab4e2a8233cd4892a5d
#微信配置
wx:
asAppid: wxfc92287b738fbb69
asSecret: c9a6898215d9712d56e03e08aab6173a
redirect_url: http://hmsyf.huamar.com/ehs-app-standard-temp-2/pages/main/loginWX.html
# 开发环境配置
server:
# 服务端口
port: 16002
servlet:
# 项目contextPath
context-path: /ehs-smx-shi
tomcat:
# tomcat的URI编码
uri-encoding: UTF-8
# tomcat最大线程数,默认为200
max-threads: 800
# Tomcat启动初始化的线程数,默认值25
min-spare-threads: 30
max-http-post-size: -1
# 日志配置
logging:
level:
com.ruoyi: debug
org.springframework: WARN
org.spring.springboot.dao: debug
# 用户配置
user:
password:
# 密码错误{maxRetryCount}次锁定10分钟
maxRetryCount: 5
# Spring配置
spring:
jmx:
default-domain: ehs-standard
# 模板引擎
thymeleaf:
mode: HTML
encoding: utf-8
# 禁用缓存
cache: false
# 资源信息
messages:
# 国际化资源文件路径
basename: i18n/messages
jackson:
time-zone: GMT+8
date-format: yyyy-MM-dd HH:mm:ss
profiles:
active: druid
# 文件上传
servlet:
multipart:
max-file-size: 300MB
max-request-size: 500MB
# 服务模块
devtools:
restart:
# 热部署开关
enabled: true
# MyBatis
mybatis:
# 搜索指定包别名
typeAliasesPackage: com.ruoyi
# 配置mapper的扫描,找到所有的mapper.xml映射文件
mapperLocations: classpath*:mapper/**/*Mapper.xml
# 加载全局的配置文件
configLocation: classpath:mapper/mybatis-config.xml
# PageHelper分页插件
pagehelper:
#helperDialect: oracle
helperDialect: mysql
reasonable: true
supportMethodsArguments: true
params: count=countSql
# Shiro
shiro:
user:
# 登录地址
loginUrl: /login
# 权限认证失败地址
unauthorizedUrl: /unauth
# 首页地址
indexUrl: /index
# 验证码开关
captchaEnabled: true
# 验证码类型 math 数组计算 char 字符
captchaType: math
cookie:
# 设置Cookie的域名 默认空,即当前访问的域名
domain:
# 设置cookie的有效访问路径
path: /
# 设置HttpOnly属性
httpOnly: true
# 设置Cookie的过期时间,天为单位
maxAge: 30
session:
# Session超时时间(默认30分钟)
expireTime: 30
# 同步session到数据库的周期(默认1分钟)
dbSyncPeriod: 1
# 相隔多久检查一次session的有效性,默认就是10分钟
validationInterval: 10
# 防止XSS攻击
xss:
# 过滤开关
enabled: true
# 排除链接(多个用逗号分隔)
excludes: /system/notice/*
# 匹配链接
urlPatterns: /ehs/*,/monitor/*,/tool/*
# 代码生成
gen:
# 作者
author: ruoyi
# 默认生成包路径 system 需改成自己的模块名称 如 system monitor tool
packageName: com.ruoyi.backstage.module
# 自动去除表前缀,默认是true
autoRemovePre: true
# 表前缀(类名不会包含表前缀)
tablePrefix: zzmj_ehs_
qianqiuNewEnergy:
orgCode: 15105000013
data: QQXNYHB
httpUrl: https://61.158.163.20:8085/api/datacenter/receive/data
socketUrl: 61.158.163.20:9876
COMPANY_CODE: 411280011
AES_KEY: 6F064D64669A54874CE941E235AFA57965F89496F94123A4D5ECFAB72489ED6C
AES_IV: BA9EB376DD26B16F81048CDC4A11572D