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

27 lines
913 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:
# com.sl: debug
spring:
main:
allow-circular-references: true #允许bean循环依赖
application:
name: sl-express-ms-work
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.ms.work.controller
title: 神领物流 - work微服务接口文档
description: 提供运输任务、取派件任务等相关服务。
contact-name: 传智教育·研究院
contact-url: http://www.itcast.cn/
contact-email: yjy@itcast.cn
version: ${application.version}