2022-02-08 11:36:50 +08:00
|
|
|
|
# 项目相关配置
|
|
|
|
|
|
ruoyi:
|
|
|
|
|
|
# 名称
|
2022-03-14 14:42:03 +08:00
|
|
|
|
name: GongQuanZi
|
2022-02-08 11:36:50 +08:00
|
|
|
|
# 版本
|
|
|
|
|
|
version: 4.7.2
|
|
|
|
|
|
# 版权年份
|
|
|
|
|
|
copyrightYear: 2021
|
|
|
|
|
|
# 实例演示开关
|
|
|
|
|
|
demoEnabled: true
|
|
|
|
|
|
# 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath)
|
2022-03-07 10:14:11 +08:00
|
|
|
|
profile: /home/ruoyi/uploadPath
|
2022-02-08 11:36:50 +08:00
|
|
|
|
# 获取ip地址开关
|
|
|
|
|
|
addressEnabled: false
|
|
|
|
|
|
|
|
|
|
|
|
# 开发环境配置
|
|
|
|
|
|
server:
|
|
|
|
|
|
# 服务器的HTTP端口,默认为80
|
|
|
|
|
|
port: 80
|
|
|
|
|
|
servlet:
|
|
|
|
|
|
# 应用的访问路径
|
|
|
|
|
|
context-path: /
|
|
|
|
|
|
tomcat:
|
|
|
|
|
|
# tomcat的URI编码
|
|
|
|
|
|
uri-encoding: UTF-8
|
|
|
|
|
|
# 连接数满后的排队数,默认为100
|
|
|
|
|
|
accept-count: 1000
|
|
|
|
|
|
threads:
|
|
|
|
|
|
# tomcat最大线程数,默认为200
|
|
|
|
|
|
max: 800
|
|
|
|
|
|
# Tomcat启动初始化的线程数,默认值10
|
|
|
|
|
|
min-spare: 100
|
2022-05-19 18:53:19 +08:00
|
|
|
|
|
2022-02-08 11:36:50 +08:00
|
|
|
|
# 日志配置
|
|
|
|
|
|
logging:
|
|
|
|
|
|
level:
|
|
|
|
|
|
com.ghy: debug
|
|
|
|
|
|
org.springframework: warn
|
|
|
|
|
|
|
|
|
|
|
|
# 用户配置
|
|
|
|
|
|
user:
|
|
|
|
|
|
password:
|
|
|
|
|
|
# 密码错误{maxRetryCount}次锁定10分钟
|
|
|
|
|
|
maxRetryCount: 5
|
|
|
|
|
|
|
|
|
|
|
|
# Spring配置
|
|
|
|
|
|
spring:
|
|
|
|
|
|
# 模板引擎
|
|
|
|
|
|
thymeleaf:
|
|
|
|
|
|
mode: HTML
|
|
|
|
|
|
encoding: utf-8
|
|
|
|
|
|
# 禁用缓存
|
|
|
|
|
|
cache: false
|
|
|
|
|
|
# 资源信息
|
|
|
|
|
|
messages:
|
|
|
|
|
|
# 国际化资源文件路径
|
|
|
|
|
|
basename: static/i18n/messages
|
|
|
|
|
|
jackson:
|
|
|
|
|
|
time-zone: GMT+8
|
|
|
|
|
|
date-format: yyyy-MM-dd HH:mm:ss
|
2022-05-19 18:53:19 +08:00
|
|
|
|
profiles:
|
2022-08-03 19:30:30 +08:00
|
|
|
|
active: druid
|
2022-02-08 11:36:50 +08:00
|
|
|
|
# 文件上传
|
|
|
|
|
|
servlet:
|
|
|
|
|
|
multipart:
|
|
|
|
|
|
# 单个文件大小
|
2022-10-29 02:17:55 +08:00
|
|
|
|
max-file-size: 50MB
|
2022-02-08 11:36:50 +08:00
|
|
|
|
# 设置总上传的文件大小
|
2022-10-29 02:17:55 +08:00
|
|
|
|
max-request-size: 100MB
|
2022-02-08 11:36:50 +08:00
|
|
|
|
# 服务模块
|
|
|
|
|
|
devtools:
|
|
|
|
|
|
restart:
|
|
|
|
|
|
# 热部署开关
|
|
|
|
|
|
enabled: true
|
|
|
|
|
|
|
|
|
|
|
|
# MyBatis
|
|
|
|
|
|
mybatis:
|
|
|
|
|
|
# 搜索指定包别名
|
|
|
|
|
|
typeAliasesPackage: com.ghy.**.domain
|
|
|
|
|
|
# 配置mapper的扫描,找到所有的mapper.xml映射文件
|
|
|
|
|
|
mapperLocations: classpath*:mapper/**/*Mapper.xml
|
|
|
|
|
|
# 加载全局的配置文件
|
|
|
|
|
|
configLocation: classpath:mybatis/mybatis-config.xml
|
|
|
|
|
|
|
|
|
|
|
|
# PageHelper分页插件
|
2022-05-19 18:53:19 +08:00
|
|
|
|
pagehelper:
|
2022-02-08 11:36:50 +08:00
|
|
|
|
helperDialect: mysql
|
|
|
|
|
|
supportMethodsArguments: true
|
2022-05-19 18:53:19 +08:00
|
|
|
|
params: count=countSql
|
2022-02-08 11:36:50 +08:00
|
|
|
|
|
|
|
|
|
|
# 防止XSS攻击
|
2022-05-19 18:53:19 +08:00
|
|
|
|
xss:
|
2022-02-08 11:36:50 +08:00
|
|
|
|
# 过滤开关
|
|
|
|
|
|
enabled: true
|
|
|
|
|
|
# 排除链接(多个用逗号分隔)
|
|
|
|
|
|
excludes: /system/notice/*
|
|
|
|
|
|
# 匹配链接
|
|
|
|
|
|
urlPatterns: /system/*,/monitor/*,/tool/*
|
|
|
|
|
|
|
|
|
|
|
|
# Swagger配置
|
|
|
|
|
|
swagger:
|
|
|
|
|
|
# 是否开启swagger
|
2022-03-14 16:56:11 +08:00
|
|
|
|
enabled: true
|
|
|
|
|
|
|
2022-05-05 14:35:48 +08:00
|
|
|
|
#小程序配置
|
|
|
|
|
|
wx:
|
2022-05-12 14:13:52 +08:00
|
|
|
|
appId: 'wxc39c2af3ea24cd37'
|
|
|
|
|
|
secret: '96d566c3169b8715904950d9cf3cbf60'
|
|
|
|
|
|
# appId: 'wx404f2439a8c24e15'
|
|
|
|
|
|
# secret: '49ade04a817067fe2d65ab2f17afce75'
|
2022-05-05 14:35:48 +08:00
|
|
|
|
|
|
|
|
|
|
#七牛云配置
|
2022-03-14 16:56:11 +08:00
|
|
|
|
qiniu:
|
|
|
|
|
|
accessKey: 'QTNOppkvtufxTxLjt1V7YZwvzV2Rc6WLD5yXLBVY'
|
|
|
|
|
|
secretKey: 'V8SM9nkbO-dft4JmG7UaCH6RYxXdqzrvQ0zWO2W3'
|
|
|
|
|
|
bucketName: 'gqz'
|
|
|
|
|
|
mediaUrl: 'http://gqz.opsoul.com/'
|
2022-04-11 10:35:53 +08:00
|
|
|
|
|
|
|
|
|
|
adapay:
|
2022-05-05 21:39:37 +08:00
|
|
|
|
debug: true
|
2022-05-26 15:47:21 +08:00
|
|
|
|
prod-mode: true
|
2022-10-25 00:34:26 +08:00
|
|
|
|
notifyUrl: 'https://www.opsoul.com:8881/adapay/callback'
|
2022-04-29 09:32:34 +08:00
|
|
|
|
|
|
|
|
|
|
jim:
|
2022-08-04 16:30:43 +08:00
|
|
|
|
appKey: '110e8830290152d76e2f1d97'
|
|
|
|
|
|
masterSecret: 'ec49918a5d89526722b05924'
|
|
|
|
|
|
maxRetryTimes: '3'
|
2022-07-20 14:32:58 +08:00
|
|
|
|
|
|
|
|
|
|
# 百度地图应用api
|
|
|
|
|
|
baidu:
|
|
|
|
|
|
ak: 'ZQTgMW7W0GTuE7Ripb0HDp5TqRaOI6PZ'
|
2022-07-28 02:00:18 +08:00
|
|
|
|
url: 'https://api.map.baidu.com/reverse_geocoding/v3/?ak=#AK#&output=json&coordtype=wgs84ll&location='
|
2022-08-01 15:51:49 +08:00
|
|
|
|
|
|
|
|
|
|
sms:
|
|
|
|
|
|
url: 'https://app.cloopen.com:8883'
|
|
|
|
|
|
account: '8a216da85f008800015f0eb223620557'
|
|
|
|
|
|
appId: '8a216da85f008800015f0eb224db055d'
|
|
|
|
|
|
token: '3cef1bc80d814637a236d93004e7ffa5'
|