|
|
|
@ -1,5 +1,10 @@
|
|
|
|
|
server:
|
|
|
|
|
port: 8080
|
|
|
|
|
ssl:
|
|
|
|
|
enabled: true
|
|
|
|
|
key-store: classpath:devops.nhet.cloud.jks
|
|
|
|
|
key-store-password: 4as23o387ol629
|
|
|
|
|
key-store-type: JKS
|
|
|
|
|
tomcat:
|
|
|
|
|
max-swallow-size: -1
|
|
|
|
|
error:
|
|
|
|
@ -26,7 +31,7 @@ spring:
|
|
|
|
|
max-request-size: 10MB
|
|
|
|
|
mail:
|
|
|
|
|
host: smtp.163.com
|
|
|
|
|
username: ??
|
|
|
|
|
username: jeecgos@163.com
|
|
|
|
|
password: ??
|
|
|
|
|
properties:
|
|
|
|
|
mail:
|
|
|
|
@ -55,7 +60,7 @@ spring:
|
|
|
|
|
class: org.springframework.scheduling.quartz.LocalDataSourceJobStore
|
|
|
|
|
driverDelegateClass: org.quartz.impl.jdbcjobstore.StdJDBCDelegate
|
|
|
|
|
tablePrefix: QRTZ_
|
|
|
|
|
isClustered: true
|
|
|
|
|
isClustered: false
|
|
|
|
|
misfireThreshold: 12000
|
|
|
|
|
clusterCheckinInterval: 15000
|
|
|
|
|
threadPool:
|
|
|
|
@ -65,10 +70,16 @@ spring:
|
|
|
|
|
threadsInheritContextClassLoaderOfInitializingThread: true
|
|
|
|
|
#json 时间戳统一转换
|
|
|
|
|
jackson:
|
|
|
|
|
date-format: yyyy-MM-dd HH:mm:ss
|
|
|
|
|
time-zone: GMT+8
|
|
|
|
|
date-format: yyyy-MM-dd HH:mm:ss
|
|
|
|
|
time-zone: GMT+8
|
|
|
|
|
jpa:
|
|
|
|
|
open-in-view: false
|
|
|
|
|
activiti:
|
|
|
|
|
check-process-definitions: false
|
|
|
|
|
#启用作业执行器
|
|
|
|
|
async-executor-activate: false
|
|
|
|
|
#启用异步执行器
|
|
|
|
|
job-executor-activate: false
|
|
|
|
|
aop:
|
|
|
|
|
proxy-target-class: true
|
|
|
|
|
#配置freemarker
|
|
|
|
@ -85,7 +96,6 @@ spring:
|
|
|
|
|
# 设置ftl文件路径
|
|
|
|
|
template-loader-path:
|
|
|
|
|
- classpath:/templates
|
|
|
|
|
template_update_delay: 0
|
|
|
|
|
# 设置静态文件路径,js,css等
|
|
|
|
|
mvc:
|
|
|
|
|
static-path-pattern: /**
|
|
|
|
@ -111,14 +121,14 @@ spring:
|
|
|
|
|
# 初始化大小,最小,最大
|
|
|
|
|
initial-size: 5
|
|
|
|
|
min-idle: 5
|
|
|
|
|
maxActive: 1000
|
|
|
|
|
maxActive: 20
|
|
|
|
|
# 配置获取连接等待超时的时间
|
|
|
|
|
maxWait: 60000
|
|
|
|
|
# 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
|
|
|
|
|
timeBetweenEvictionRunsMillis: 60000
|
|
|
|
|
# 配置一个连接在池中最小生存的时间,单位是毫秒
|
|
|
|
|
minEvictableIdleTimeMillis: 300000
|
|
|
|
|
validationQuery: SELECT 1 FROM DUAL
|
|
|
|
|
validationQuery: SELECT 1
|
|
|
|
|
testWhileIdle: true
|
|
|
|
|
testOnBorrow: false
|
|
|
|
|
testOnReturn: false
|
|
|
|
@ -132,6 +142,7 @@ spring:
|
|
|
|
|
datasource:
|
|
|
|
|
master:
|
|
|
|
|
url: jdbc:mysql://47.100.35.222:3306/nherp?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
|
|
|
|
|
#url: jdbc:mysql://localhost:3306/nhdb?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
|
|
|
|
|
username: root
|
|
|
|
|
password: nhdev2022.+
|
|
|
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
|
@ -144,9 +155,17 @@ spring:
|
|
|
|
|
#redis 配置
|
|
|
|
|
redis:
|
|
|
|
|
database: 0
|
|
|
|
|
host: 127.0.0.1
|
|
|
|
|
port: 6379
|
|
|
|
|
host: 172.18.0.3
|
|
|
|
|
#host: 127.0.0.1
|
|
|
|
|
lettuce:
|
|
|
|
|
pool:
|
|
|
|
|
max-active: 8 #最大连接数据库连接数,设 -1 为没有限制
|
|
|
|
|
max-idle: 8 #最大等待连接中的数量,设 0 为没有限制
|
|
|
|
|
max-wait: -1ms #最大建立连接等待时间。如果超过此时间将接到异常。设为-1表示无限制。
|
|
|
|
|
min-idle: 0 #最小等待连接中的数量,设 0 为没有限制
|
|
|
|
|
shutdown-timeout: 100ms
|
|
|
|
|
password: '@nhdev2022.+'
|
|
|
|
|
port: 6379
|
|
|
|
|
#mybatis plus 设置
|
|
|
|
|
mybatis-plus:
|
|
|
|
|
mapper-locations: classpath*:org/jeecg/modules/**/xml/*Mapper.xml
|
|
|
|
@ -171,35 +190,37 @@ jeecg:
|
|
|
|
|
safeMode: false
|
|
|
|
|
# 签名密钥串(前后端要一致,正式发布请自行修改)
|
|
|
|
|
signatureSecret: dd05f1c54d63749eda95f9fa6d49v442a
|
|
|
|
|
# 签名拦截接口
|
|
|
|
|
signUrls: /sys/dict/getDictItems/*,/sys/dict/loadDict/*,/sys/dict/loadDictOrderByValue/*,/sys/dict/loadDictItem/*,/sys/dict/loadTreeData,/sys/api/queryTableDictItemsByCode,/sys/api/queryFilterTableDictInfo,/sys/api/queryTableDictByKeys,/sys/api/translateDictFromTable,/sys/api/translateDictFromTableByKeys
|
|
|
|
|
#local\minio\alioss
|
|
|
|
|
uploadType: alioss
|
|
|
|
|
# 前端访问地址
|
|
|
|
|
domainUrl:
|
|
|
|
|
pc: http://localhost:3100
|
|
|
|
|
app: http://localhost:8051
|
|
|
|
|
# 本地:local\Minio:minio\阿里云:alioss
|
|
|
|
|
uploadType: local
|
|
|
|
|
path:
|
|
|
|
|
#文件上传根目录 设置
|
|
|
|
|
upload: /opt/jeecg-boot/upload
|
|
|
|
|
#webapp文件路径
|
|
|
|
|
webapp: /opt/jeecg-boot/webapp
|
|
|
|
|
shiro:
|
|
|
|
|
excludeUrls: /test/jeecgDemo/demo3,/test/jeecgDemo/redisDemo/**,/category/**,/visual/**,/map/**,/jmreport/bigscreen2/**,/api/getUserInfo
|
|
|
|
|
excludeUrls: /sys/randomImage/**,/test/jeecgDemo/demo3,/test/jeecgDemo/redisDemo/**,/category/**,/visual/**,/map/**,/jmreport/bigscreen2/**
|
|
|
|
|
#阿里云oss存储和大鱼短信秘钥配置
|
|
|
|
|
oss:
|
|
|
|
|
accessKey: ??
|
|
|
|
|
secretKey: ??
|
|
|
|
|
endpoint: oss-cn-beijing.aliyuncs.com
|
|
|
|
|
bucketName: jeecgdev
|
|
|
|
|
staticDomain: https://static.jeecg.com
|
|
|
|
|
# ElasticSearch 设置
|
|
|
|
|
# ElasticSearch 6设置
|
|
|
|
|
elasticsearch:
|
|
|
|
|
cluster-name: jeecg-ES
|
|
|
|
|
cluster-nodes: 127.0.0.1:9200
|
|
|
|
|
check-enabled: true
|
|
|
|
|
check-enabled: false
|
|
|
|
|
# 表单设计器配置
|
|
|
|
|
desform:
|
|
|
|
|
# 主题颜色(仅支持 16进制颜色代码)
|
|
|
|
|
theme-color: "#1890ff"
|
|
|
|
|
# 文件、图片上传方式,可选项:qiniu(七牛云)、system(跟随系统配置)
|
|
|
|
|
upload-type: system
|
|
|
|
|
map:
|
|
|
|
|
# 配置百度地图的AK,申请地址:https://lbs.baidu.com/apiconsole/key?application=key#/home
|
|
|
|
|
baidu: ??
|
|
|
|
|
# 在线预览文件服务器地址配置
|
|
|
|
|
file-view-domain: http://fileview.jeecg.com
|
|
|
|
|
file-view-domain: 127.0.0.1:8012
|
|
|
|
|
# minio文件上传
|
|
|
|
|
minio:
|
|
|
|
|
minio_url: http://minio.jeecg.com
|
|
|
|
@ -208,17 +229,25 @@ jeecg:
|
|
|
|
|
bucketName: otatest
|
|
|
|
|
#大屏报表参数设置
|
|
|
|
|
jmreport:
|
|
|
|
|
mode: prod
|
|
|
|
|
mode: dev
|
|
|
|
|
#数据字典是否进行saas数据隔离,自己看自己的字典
|
|
|
|
|
saas: false
|
|
|
|
|
#是否开启租户模式 Support By v1.5.5+
|
|
|
|
|
openTenant: false
|
|
|
|
|
#安全模式(敏感接口校验、saas模式下不允许使用平台数据源)
|
|
|
|
|
#safeMode: true
|
|
|
|
|
#是否需要校验token
|
|
|
|
|
is_verify_token: true
|
|
|
|
|
#必须校验方法
|
|
|
|
|
verify_methods: remove,delete,save,add,update
|
|
|
|
|
#自定义项目前缀
|
|
|
|
|
customPrePath:
|
|
|
|
|
pageSize:
|
|
|
|
|
- 10
|
|
|
|
|
- 20
|
|
|
|
|
- 30
|
|
|
|
|
- 40
|
|
|
|
|
#Wps在线文档
|
|
|
|
|
wps:
|
|
|
|
|
domain: https://wwo.wps.cn/office/
|
|
|
|
|
appid: ??
|
|
|
|
|
appsecret: ??
|
|
|
|
|
#xxl-job配置
|
|
|
|
|
xxljob:
|
|
|
|
|
enabled: false
|
|
|
|
@ -230,6 +259,12 @@ jeecg:
|
|
|
|
|
port: 30007
|
|
|
|
|
logPath: logs/jeecg/job/jobhandler/
|
|
|
|
|
logRetentionDays: 30
|
|
|
|
|
route:
|
|
|
|
|
config:
|
|
|
|
|
data-id: jeecg-gateway-router
|
|
|
|
|
group: DEFAULT_GROUP
|
|
|
|
|
#自定义路由配置 yml nacos database
|
|
|
|
|
data-type: database
|
|
|
|
|
#分布式锁配置
|
|
|
|
|
redisson:
|
|
|
|
|
address: 127.0.0.1:6379
|
|
|
|
|