30 lines
901 B
YAML
30 lines
901 B
YAML
server:
|
||
port: 8085
|
||
management: #开启SpringBoot Admin的监控
|
||
endpoints:
|
||
web:
|
||
exposure:
|
||
include: "*" # 暴露xxx端点,如需暴露多个,用,分隔;如需暴露所有端点,用'*'
|
||
enabled-by-default: false
|
||
endpoint:
|
||
health:
|
||
show-details: ALWAYS # 是否展示健康检查详情
|
||
info: # info信息会显示到SpringBootAdmin的server端,这里取的是pom文件中的数据
|
||
version: 1.0-SNAPSHOT
|
||
groupId: com.suisung.mall
|
||
artifactId: mall-sns
|
||
mybatis-plus:
|
||
mapper-locations: classpath:/mapper/**/*.xml
|
||
global-config:
|
||
field-strategy: 1
|
||
db-config:
|
||
id-type: auto
|
||
configuration:
|
||
auto-mapping-behavior: partial
|
||
map-underscore-to-camel-case: false
|
||
feign:
|
||
okhttp:
|
||
enabled: true
|
||
ribbon:
|
||
ConnectTimeout: 60000 #服务请求连接超时时间(毫秒)
|
||
ReadTimeout: 60000 #服务请求处理超时时间(毫秒) |