Files
sl-express/sl-express-ms-transport-service/src/main/resources/bootstrap.yml
shuhongfan cf5ac25c14 init
2023-09-04 16:40:17 +08:00

25 lines
917 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.

application:
version: v1.0
logging:
config: classpath:logback-spring.xml
# level:
# org.springframework.data.neo4j: debug
spring:
application:
name: sl-express-transport
profiles:
active: local
mvc:
pathmatch:
#解决异常swagger Failed to start bean 'documentationPluginsBootstrapper'; nested exception is java.lang.NullPointerException
#因为Springfox使用的路径匹配是基于AntPathMatcher的而Spring Boot 2.6.X使用的是PathPatternMatcher
matching-strategy: ant_path_matcher
sl:
swagger:
package-path: com.sl.transport.controller
title: 神领物流 - 运输路线微服务接口文档
description: 该微服务完成网点、二级转运中心、一级转运中心的路线计算服务。
contact-name: 传智教育·研究院
contact-url: http://www.itcast.cn/
contact-email: yjy@itcast.cn
version: ${application.version}