java-mall/mall-im/target/classes/application.yml
2024-10-26 10:01:40 +08:00

34 lines
903 B
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.

server:
port: 8099
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
management: #开启SpringBoot Admin的监控
endpoints:
web:
exposure:
include: "*" # 暴露xxx端点如需暴露多个用,分隔;如需暴露所有端点,用'*'
enabled-by-default: false
endpoint:
health:
show-details: ALWAYS # 是否展示健康检查详情
# info信息会显示到SpringBootAdmin的server端这里取的是pom文件中的数据
info:
version: 1.0-SNAPSHOT
groupId: com.suisung.mall
artifactId: mall-im
feign:
okhttp:
enabled: true
ribbon:
ConnectTimeout: 60000 #服务请求连接超时时间(毫秒)
ReadTimeout: 60000 #服务请求处理超时时间(毫秒)