update prod配置文件

This commit is contained in:
lijiarao
2023-11-15 09:33:58 +08:00
parent 07539061ff
commit 246c4a4232
@@ -22,8 +22,8 @@ management:
spring:
servlet:
multipart:
max-file-size: 500MB
max-request-size: 500MB
max-file-size: 10MB
max-request-size: 10MB
messages:
basename: i18n/messages
mail:
@@ -101,7 +101,7 @@ spring:
datasource:
druid:
stat-view-servlet:
enabled: true
enabled: false
loginUsername: druid
loginPassword: druid
allow:
@@ -115,7 +115,7 @@ spring:
min-idle: 5
maxActive: 20
# 配置获取连接等待超时的时间
maxWait: 60000
maxWait: 300000
# 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
timeBetweenEvictionRunsMillis: 60000
# 配置一个连接在池中最小生存的时间,单位是毫秒
@@ -134,7 +134,7 @@ spring:
connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000;druid.stat.logSlowSql\=true
datasource:
master:
url: jdbc:p6spy:mysql://10.186.40.44:8921/laws_sinotrunk_grp?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
url: jdbc:p6spy:mysql://10.186.40.44:8921/laws_sinotrunk_grp?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai&autoReconnect=true
username: law_dev
password: Lawdev!@#1234
driver-class-name: com.p6spy.engine.spy.P6SpyDriver
@@ -191,9 +191,9 @@ mybatis-plus:
id-type: ASSIGN_ID
# 默认数据库表下划线命名
table-underline: true
# configuration:
# configuration:
# 这个配置会将执行的sql打印出来,在开发或测试的时候可以用
# log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
# log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
# 返回类型为Map,显示null对应的字段
# call-setters-on-nulls: true
#jero专用配置
@@ -201,17 +201,23 @@ jero:
# 签名密钥串(前后端要一致,正式发布请自行修改)
signatureSecret: dd05f1c54d63749eda95f9fa6d49v442a
# 本地:local\Miniominio\阿里云:alioss
uploadType: local
uploadType: minio
backUrl: http://localhost:3000
backUrlPhone: http://localhost:3000
#拆分图片展示地址
splitUrl: http://localhost:8080
splitUrl: http://laws-test.sinotruk.com/laws-sinotruk/sys/split/file/getImage?fileName=
path:
#文件上传根目录 设置
upload: /app/opt/upFiles
#webapp文件路径
webapp: /app/opt/webapp
uploadCos: 1
#导出pdf临时文件路径 设置
exportPdfTempPath: D://opt//exportTemp/
#导出excel临时文件路径 设置
exportExcelTempPath: D://opt//exportExcelTemp
#仿宋体字体文件路径 设置
simfangFontFilePath: D://opt//simfangFontFilePath//simfang.ttf
shiro:
excludeUrls: /test/jeroDemo/demo3,/test/jeroDemo/redisDemo/**,/category/**,/visual/**,/map/**,/jmreport/bigscreen2/**
#阿里云oss存储配置
@@ -236,10 +242,10 @@ jero:
file-view-domain: 127.0.0.1:8012
# minio文件上传
minio:
minio_url: http://minio.jero.com
minio_name: ??
minio_pass: ??
bucketName: otatest
minio_url: http://grp-minio.yf-grp:9000
minio_name: root
minio_pass: bpm@2023
bucketName: laws-sinotruk
#大屏报表参数设置
jmreport:
mode: dev
@@ -280,13 +286,13 @@ jero:
# 文件限制后缀黑名单
fileSuffixLimits : 0x00,%00,\\00,.jsp,.exe,.php,.asp,.aspx,.jspx,.xml,.html,.js,.sh,.bin,$DATA
# 跨站白名单
whiteUrls: localhost:3000,localhost:8080,onlyofficevue.sinotruk.com
whiteUrls: localhost:3000,localhost:8080,localhost:62345,laws-test.sinotruk.com
# xss白名单
xssExcludedPages: /login,/updatePassword
# cors白名单
notFilter:
# origin地址
originIp: http://localhost:3000,http://onlyofficevue.sinotruk.com
originIp: http://localhost:3000,http://localhost:62345,http://laws-test.sinotruk.com
# 加密默认值
password:
pbe:
@@ -303,11 +309,13 @@ logging:
level:
com.jero.modules.system.mapper : info
#swagger
swagger:
enabled: false
knife4j:
#开启增强配置
enable: true
#开启生产环境屏蔽,为true,则knife4j无法访问
production: false
production: true
basic:
enable: false
username: jero
@@ -337,7 +345,7 @@ justauth:
type: default
prefix: 'demo::'
timeout: 1h
file:
downloadUrl: a
split:
@@ -345,5 +353,49 @@ file:
sourceFilePath: /app/onlyoffice/DOCX.docx
path: /app/onlyoffice/file/
iam:
bimRemoteUser: srmsIam
bimRemotePwd: srmsIam2023
# bimRemoteUser: bbcadmin
# bimRemotePwd: P@ssw0rd
bpmcAppkey: test
# Hiwork集成
hiwork:
ip: http://task-test.sinotruk.com/
# 异构系统标识
sysCode: test
# 统一待办集成
todoUrl: taskapi/task.basedata/integrationCall/workflowIntegration
# 统一消息集成
messageUrl: taskapi/task.basedata/notice/noticeCalls/send
# 是否发送消息
isSend: false
# 汽车标准数字化平台ASMS
asms:
host: http://standard.catarc.org.cn/
# 测试账号用户名
username: ceshi
# 测试账号密码
password: Catarc@333
# token过期时间(单位:小时)
expire: 48
# 单点登录配置(所有配置信息需要协调注册,现在都为假)
oauth:
# 客户端应用注册ID--客户申请的:SRMS
clientId: SRMS
# 客户端应用注册密钥 客户申请的:58a1001438de462193bec307826463c2
clientSecret: 58a1001438de462193bec307826463c2
# 授权码验证
grantType: authorization_code
# 通过授权码获取accessToken请求地址
accessTokenUrl: https://iam-uat.sinotruk.com:7011/idp/oauth2/getToken
# 通过accessToken获取账号信息请求地址
userInfoUrl: https://iam-uat.sinotruk.com:7011/idp/oauth2/getUserInfo
# 防止跨站请求伪造(CSRF)标识(暂时不用)
state: zhongQi
# 起草部门部门名称
draftDepartName: 流程与标准化