update 优化 默认使用服务名去除前缀当Path 支持自定义Path

This commit is contained in:
疯狂的狮子Li
2022-07-26 23:38:10 +08:00
parent 6c2784a57f
commit 7987cd6d3d
3 changed files with 27 additions and 2 deletions

View File

@@ -257,6 +257,10 @@ swagger:
type: APIKEY
in: HEADER
name: ${sa-token.token-name}
# 服务文档路径映射 参考 gateway router 配置
# 默认为服务名去除前缀转换为path 此处填特殊的配置
service-mapping:
ruoyi-gen: /code
# seata配置
seata: