mirror of
https://gitee.com/durcframework/SOP.git
synced 2025-08-11 21:57:56 +08:00
可排除其它服务
This commit is contained in:
@@ -112,3 +112,12 @@ spring.cloud.nacos.discovery.metadata.server.servlet.context-path=${server.servl
|
||||
```
|
||||
|
||||
不然网关无法拉取路由信息
|
||||
|
||||
## 其它微服务没有开放接口,需要排除
|
||||
|
||||
在sop-gateway项目中配置
|
||||
|
||||
```properties
|
||||
# 排除服务,多个用,隔开
|
||||
sop.service.exclude=your-serviceId1,your-serviceId2
|
||||
```
|
||||
|
Reference in New Issue
Block a user