You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
SOP/doc/docs/files/10096_使用SpringCloudGateway.md

16 lines
451 B

# 使用SpringCloudGateway
修改`sop-gateway/pom.xml`配置,artifactId部分改成`sop-bridge-gateway`即可
```xml
<dependency>
<groupId>com.gitee.sop</groupId>
<!-- 使用zuul作为网关 -->
<!--<artifactId>sop-bridge-zuul</artifactId>-->
<!-- 使用spring cloud gateway作为网关 -->
<artifactId>sop-bridge-gateway</artifactId>
<version>对应版本</version>
</dependency>
```
修改完毕,重启sop-gateway