You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
934 B
48 lines
934 B
server:
|
|
port: 7002
|
|
spring:
|
|
application:
|
|
name: anrui-scm
|
|
profiles:
|
|
active: dev
|
|
messages:
|
|
basename: i18n/messages
|
|
servlet:
|
|
multipart:
|
|
max-file-size: 50MB
|
|
max-request-size: 100MB
|
|
|
|
mybatis-plus:
|
|
mapper-locations: classpath*:**Mapper.xml
|
|
global-config:
|
|
refresh: true
|
|
db-config:
|
|
id-type: auto
|
|
db-type: mysql
|
|
configuration:
|
|
map-underscore-to-camel-case: false
|
|
cache-enabled: true
|
|
call-setters-on-nulls: true
|
|
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
|
|
|
#hystrix的超时时间
|
|
hystrix:
|
|
command:
|
|
default:
|
|
execution:
|
|
timeout:
|
|
enabled: true
|
|
isolation:
|
|
thread:
|
|
timeoutInMilliseconds: 30000
|
|
#ribbon的超时时间
|
|
ribbon:
|
|
ReadTimeout: 30000
|
|
ConnectTimeout: 30000
|
|
|
|
api:
|
|
boot:
|
|
logging:
|
|
show-console-log: true
|
|
#实现美化打印请求日志
|
|
format-console-log-json: true
|