aiccs-api/src/main/resources/application.yml

157 lines
4.2 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

logging:
level:
root: info
spring:
profiles:
active: prod129
application:
name: aiccs
datasource:
driver-class-name: dm.jdbc.driver.DmDriver
#https://gitee.com/wenshao/druid/tree/master/druid-spring-boot-starter
#https://github.com/alibaba/druid/wiki/DruidDataSource%E9%85%8D%E7%BD%AE
aiccs:
filters: stat
initial-size: 10
min-idle: 1
max-active: 200
max-wait: 30000000
time-between-eviction-runs-millis: 60000
min-evictable-idle-time-millis: 300000
validation-query: select 1;
crgs:
filters: stat
initial-size: 2
min-idle: 1
max-active: 200
max-wait: 30000000
time-between-eviction-runs-millis: 60000
min-evictable-idle-time-millis: 300000
validation-query: select 1;
aicorg:
filters: stat
initial-size: 2
min-idle: 1
max-active: 200
max-wait: 30000000
time-between-eviction-runs-millis: 60000
min-evictable-idle-time-millis: 300000
validation-query: select 1;
youfool:
filters: stat
initial-size: 2
min-idle: 1
max-active: 200
max-wait: 30000000
time-between-eviction-runs-millis: 60000
min-evictable-idle-time-millis: 300000
validation-query: select 1;
aiceps:
filters: stat
initial-size: 2
min-idle: 1
max-active: 200
max-wait: 30000000
time-between-eviction-runs-millis: 60000
min-evictable-idle-time-millis: 300000
validation-query: select 1
aicods:
filters: stat
initial-size: 2
min-idle: 1
max-active: 200
max-wait: 30000000
time-between-eviction-runs-millis: 60000
min-evictable-idle-time-millis: 300000
driver-class-name: oracle.jdbc.driver.OracleDriver
druid:
web-stat-filter:
enabled: true
principal-session-name: druidSessionKey
profile-enable: true
stat-view-servlet:
enabled: true
allow:
url-pattern: /druid/*
login-username: cw_admin
login-password: cw#32058133
servlet:
multipart:
max-file-size: 100MB
max-request-size: 100MB
restLog:
ignoreServletPath: /druid,/swagger-resources,/v2/api-docs,/webjars,/user/checkSSOLogin
isSaveDb: true
# ignoreSuffix: .css,.jpg,.png,.icon,.html,.js
jwt:
id: aiccs
secret: 6541af925f844c84862fb114e00c8a73
ttlMillis: 10800000
#用户的密码sm3秘钥
#sm3:
# secret: 6a1ae0c5cd564f848207f8f3f8cf6f14
knife4j:
enable: true
production: false
# basic:
# enable: true
# username: admin
# password: 123456
mybatis-plus:
config-location: classpath:mybatis/mybatis-config.xml
mapper-locations: classpath:mybatis/mapper/*.xml
tag:
import:
reportStorageTime: 600000 # 失败报告保存时间10分钟
forest:
backend: okhttp3 # 后端HTTP API okhttp3
max-connections: 1000 # 连接池最大连接数默认值为500
max-route-connections: 500 # 每个路由的最大连接数默认值为500
timeout: 200000 # 请求超时时间,单位为毫秒, 默认值为3000
connect-timeout: 200000 # 连接超时时间,单位为毫秒, 默认值为2000
retry-count: 0 # 请求失败后重试次数默认为0次不重试
ssl-protocol: SSLv3 # 单向验证的HTTPS的默认SSL协议默认为SSLv3
logEnabled: true # 打开或关闭日志默认为true
log-request: true # 打开/关闭Forest请求日志默认为 true
log-response-status: true # 打开/关闭Forest响应状态日志默认为 true
log-response-content: true # 打开/关闭Forest响应内容日志默认为 false
#短信认证信息
sms:
username: test
password: test
geo:
host: https://restapi.amap.com/
# 统一门户
door:
enableTask: false # 开启推送待办
redirectUrl: https://10.194.188.238/integration?unite=1/#/toDoList
# 信创门户
xcDoor:
enableTask: false # 开启推送待办
redirectUrl: http://10.21.5.138/integration/#/toDoList
punishment:
api:
auth:
systemName: '信用分类监管系统'
orgName: '内蒙古市场监督管理局'
tyshxydm: '11150000MB1937153P'
account: 'xyfljgxt'
password: '5d08zWhr0g18ncbvKp'
deckey: 'GGXYLHJC'
oauth2:
sm4:
key: ${SM4_LOGIN_KEY:59eefc6ab7b5c9f06de12a3eefb06db5}