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.
63 lines
1.1 KiB
63 lines
1.1 KiB
spring:
|
|
application:
|
|
name: admin-biz
|
|
profiles:
|
|
active: dev
|
|
# active: pro
|
|
messages:
|
|
# 国际化资源文件路径
|
|
basename: i18n/messages
|
|
servlet:
|
|
#上传文件
|
|
multipart:
|
|
max-file-size: 50MB
|
|
max-request-size: 100MB
|
|
devtools:
|
|
restart:
|
|
# 热部署开关
|
|
enabled: true
|
|
mvc:
|
|
async:
|
|
request-timeout: 20000
|
|
|
|
|
|
|
|
server:
|
|
port: 6024
|
|
max-http-header-size: 102400
|
|
tomcat:
|
|
max-http-form-post-size: -1
|
|
#mybatis
|
|
mybatis-plus:
|
|
# 配置mapper的扫描,找到所有的mapper.xml映射文件
|
|
mapper-locations: classpath*:**Mapper.xml
|
|
global-config:
|
|
refresh: true
|
|
db-config:
|
|
#定义生成ID的类型
|
|
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: 60000
|
|
#ribbon的超时时间
|
|
ribbon:
|
|
ReadTimeout: 60000
|
|
ConnectTimeout: 60000
|
|
|
|
|
|
|
|
|
|
|