rewrite
plugin.soul-admin
--> plugin management --> rewrite
,set to enable.rewrite
support in the pox.xml file of the gateway.<!-- soul rewrite plugin start--> <dependency> <groupId>org.dromara</groupId> <artifactId>soul-spring-boot-starter-plugin-rewrite</artifactId> <version>${last.version}</version> </dependency> <!-- soul rewrite plugin end-->
As the name suggests, rewrite is a redefinition of URI.
When the request is matched, set the user-defined path, and the user-defined path will overwrite the previous real path.
When invoking, the user-defined path will be used.