181 lines
5.3 KiB
YAML
181 lines
5.3 KiB
YAML
logging:
|
||
level:
|
||
root: info
|
||
spring:
|
||
profiles:
|
||
active: prod73
|
||
application:
|
||
name: aiccs-api
|
||
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-api
|
||
secret: 6541af925f844c84862fb114e00c8a73
|
||
ttlMillis: 10800000
|
||
server:
|
||
servlet:
|
||
context-path: /aiccs-api
|
||
#用户的密码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}
|
||
# 统一认证平台配置
|
||
unified-auth:
|
||
# 认证地址,根据实际环境配置
|
||
auth-url: ${UNIFIED_AUTH_URL:https://58.18.173.243:8002}
|
||
# 认证地址,内网
|
||
auth-url-intranet: ${UNIFIED_AUTH_URL_INTRANET:https://10.6.48.70:443}
|
||
# 客户端ID,由统一认证平台分配
|
||
client-id: ${UNIFIED_AUTH_CLIENT_ID:xyjgxt}
|
||
# 客户端秘钥,由统一认证平台分配
|
||
client-secret: ${UNIFIED_AUTH_CLIENT_SECRET:482938479827349}
|
||
# 回调地址,需与统一认证平台注册时的回调地址一致
|
||
redirect-uri: ${UNIFIED_AUTH_REDIRECT_URI:https://amr.nmg.gov.cn/aiccs-api/oauth2/callback}
|
||
# 授权码接口路径
|
||
authorize-path: /authcenter/getOauth2Authorize
|
||
# 获取令牌接口路径
|
||
token-path: /authcenter/getOauth2Token
|
||
# 获取用户信息接口路径
|
||
userinfo-path: /authcenter/getOauth2UserInfo
|
||
# 验证令牌有效性接口路径
|
||
check-token-path: /authcenter/checkTAValid
|
||
# 单点登出接口路径
|
||
logout-path: /authcenter/userLogout
|