This is an automated email from the ASF dual-hosted git repository.

liuhongyu pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/shenyu-website.git


The following commit(s) were added to refs/heads/main by this push:
     new 8aa8cdd7e1 style: fix md show style (#1075)
8aa8cdd7e1 is described below

commit 8aa8cdd7e1141ffc699640ce7797eb8e0640c644
Author: shown <[email protected]>
AuthorDate: Sun Jul 20 20:52:16 2025 +0800

    style: fix md show style (#1075)
    
    * style: fix md show style
    
    * Update contextpath-plugin.md
    
    * Update redirect-plugin.md
    
    * Update request-plugin.md
    
    * Update rewrite-plugin.md
    
    * Update build-deploy.md
    
    * Update websocket-proxy.md
    
    * Update tars-proxy.md
    
    * Update sofa-rpc-proxy.md
    
    * Update motan-proxy.md
    
    * Update http-proxy.md
    
    * Update grpc-proxy.md
    
    * Update http-proxy.md
    
    * Update http-proxy.md
---
 .../http-process/contextpath-plugin.md             |  10 +-
 .../http-process/modifyresponse-plugin.md          |  10 +-
 .../plugin-center/http-process/redirect-plugin.md  |  14 +-
 .../plugin-center/http-process/request-plugin.md   |  14 +-
 .../plugin-center/http-process/rewrite-plugin.md   |  10 +-
 .../kubernetes-controller/build-deploy.md          |  10 +-
 .../version-2.7.0.1/user-guide/proxy/grpc-proxy.md |  36 +--
 .../version-2.7.0.1/user-guide/proxy/http-proxy.md | 280 ++++++++++-----------
 .../user-guide/proxy/motan-proxy.md                |  52 ++--
 .../user-guide/proxy/sofa-rpc-proxy.md             |  82 +++---
 .../version-2.7.0.1/user-guide/proxy/tars-proxy.md |  26 +-
 .../user-guide/proxy/websocket-proxy.md            |  12 +-
 12 files changed, 277 insertions(+), 279 deletions(-)

diff --git 
a/i18n/zh/docusaurus-plugin-content-docs/version-2.7.0.1/plugin-center/http-process/contextpath-plugin.md
 
b/i18n/zh/docusaurus-plugin-content-docs/version-2.7.0.1/plugin-center/http-process/contextpath-plugin.md
index 5d7bdd5488..6000d519b0 100644
--- 
a/i18n/zh/docusaurus-plugin-content-docs/version-2.7.0.1/plugin-center/http-process/contextpath-plugin.md
+++ 
b/i18n/zh/docusaurus-plugin-content-docs/version-2.7.0.1/plugin-center/http-process/contextpath-plugin.md
@@ -39,11 +39,11 @@ description: contextPath插件
 - 在网关的 `pom.xml` 文件中添加插件 maven 配置。
 
 ```xml
-  <dependency>
-      <groupId>org.apache.shenyu</groupId>
-      <artifactId>shenyu-spring-boot-starter-gateway</artifactId>
-     <version>${project.version}</version>
-  </dependency>
+<dependency>
+    <groupId>org.apache.shenyu</groupId>
+    <artifactId>shenyu-spring-boot-starter-gateway</artifactId>
+   <version>${project.version}</version>
+</dependency>
 ```
 
 ## 2.3 启用插件
diff --git 
a/i18n/zh/docusaurus-plugin-content-docs/version-2.7.0.1/plugin-center/http-process/modifyresponse-plugin.md
 
b/i18n/zh/docusaurus-plugin-content-docs/version-2.7.0.1/plugin-center/http-process/modifyresponse-plugin.md
index f0e71abce4..cba92caab7 100644
--- 
a/i18n/zh/docusaurus-plugin-content-docs/version-2.7.0.1/plugin-center/http-process/modifyresponse-plugin.md
+++ 
b/i18n/zh/docusaurus-plugin-content-docs/version-2.7.0.1/plugin-center/http-process/modifyresponse-plugin.md
@@ -40,11 +40,11 @@ description: modifyResponse插件
 - 在网关的 `pom.xml` 文件中添加插件 maven 配置。
 
 ```xml
-  <dependency>
-      <groupId>org.apache.shenyu</groupId>
-      <artifactId>shenyu-spring-boot-starter-gateway</artifactId>
-     <version>${project.version}</version>
-  </dependency>
+<dependency>
+    <groupId>org.apache.shenyu</groupId>
+    <artifactId>shenyu-spring-boot-starter-gateway</artifactId>
+   <version>${project.version}</version>
+</dependency>
 ```
 
 ## 2.3 启用插件
diff --git 
a/i18n/zh/docusaurus-plugin-content-docs/version-2.7.0.1/plugin-center/http-process/redirect-plugin.md
 
b/i18n/zh/docusaurus-plugin-content-docs/version-2.7.0.1/plugin-center/http-process/redirect-plugin.md
index 9a853563fa..9840c4e74c 100644
--- 
a/i18n/zh/docusaurus-plugin-content-docs/version-2.7.0.1/plugin-center/http-process/redirect-plugin.md
+++ 
b/i18n/zh/docusaurus-plugin-content-docs/version-2.7.0.1/plugin-center/http-process/redirect-plugin.md
@@ -22,13 +22,13 @@ description: redirect插件
 - 在网关的 `pom.xml` 文件中添加 `redirect` 的支持。
 
 ```xml
-  <!-- apache shenyu redirect plugin start-->
-  <dependency>
-      <groupId>org.apache.shenyu</groupId>
-      <artifactId>shenyu-spring-boot-starter-plugin-redirect</artifactId>
-     <version>${project.version}</version>
-  </dependency>
-  <!-- apache shenyu redirect plugin end-->
+<!-- apache shenyu redirect plugin start-->
+<dependency>
+    <groupId>org.apache.shenyu</groupId>
+    <artifactId>shenyu-spring-boot-starter-plugin-redirect</artifactId>
+   <version>${project.version}</version>
+</dependency>
+<!-- apache shenyu redirect plugin end-->
 ```
 
 - 
选择器和规则,只有匹配的请求,才会进行转发和重定向,请参考:[选择器规则管理](../../user-guide/admin-usage/selector-and-rule)。
diff --git 
a/i18n/zh/docusaurus-plugin-content-docs/version-2.7.0.1/plugin-center/http-process/request-plugin.md
 
b/i18n/zh/docusaurus-plugin-content-docs/version-2.7.0.1/plugin-center/http-process/request-plugin.md
index 22355e65b5..e8ce3bce1c 100644
--- 
a/i18n/zh/docusaurus-plugin-content-docs/version-2.7.0.1/plugin-center/http-process/request-plugin.md
+++ 
b/i18n/zh/docusaurus-plugin-content-docs/version-2.7.0.1/plugin-center/http-process/request-plugin.md
@@ -38,13 +38,13 @@ description: RequestPlugin
 - 在网关的 `pom.xml` 文件中添加插件 maven 配置,默认已经添加。
 
 ```xml
-  <!-- apache shenyu request plugin start-->
-  <dependency>
-      <groupId>org.apache.shenyu</groupId>
-      <artifactId>shenyu-spring-boot-starter-plugin-request</artifactId>
-     <version>${project.version}</version>
-  </dependency>
-  <!-- apache shenyu request plugin end-->
+<!-- apache shenyu request plugin start-->
+<dependency>
+    <groupId>org.apache.shenyu</groupId>
+    <artifactId>shenyu-spring-boot-starter-plugin-request</artifactId>
+   <version>${project.version}</version>
+</dependency>
+<!-- apache shenyu request plugin end-->
 ```
 
 ## 2.3 启用插件
diff --git 
a/i18n/zh/docusaurus-plugin-content-docs/version-2.7.0.1/plugin-center/http-process/rewrite-plugin.md
 
b/i18n/zh/docusaurus-plugin-content-docs/version-2.7.0.1/plugin-center/http-process/rewrite-plugin.md
index b1446975c2..b748ce01de 100644
--- 
a/i18n/zh/docusaurus-plugin-content-docs/version-2.7.0.1/plugin-center/http-process/rewrite-plugin.md
+++ 
b/i18n/zh/docusaurus-plugin-content-docs/version-2.7.0.1/plugin-center/http-process/rewrite-plugin.md
@@ -39,11 +39,11 @@ description: rewrite插件
 - 在网关的 `pom.xml` 文件中添加插件 maven 配置。
 
 ```xml
-  <dependency>
-      <groupId>org.apache.shenyu</groupId>
-      <artifactId>shenyu-spring-boot-starter-plugin-rewrite</artifactId>
-      <version>${project.version}</version>
-  </dependency>
+<dependency>
+    <groupId>org.apache.shenyu</groupId>
+    <artifactId>shenyu-spring-boot-starter-plugin-rewrite</artifactId>
+    <version>${project.version}</version>
+</dependency>
 ```
 
 ## 2.3 启用插件
diff --git 
a/i18n/zh/docusaurus-plugin-content-docs/version-2.7.0.1/user-guide/kubernetes-controller/build-deploy.md
 
b/i18n/zh/docusaurus-plugin-content-docs/version-2.7.0.1/user-guide/kubernetes-controller/build-deploy.md
index 868fd5bbaa..7d06f7af11 100644
--- 
a/i18n/zh/docusaurus-plugin-content-docs/version-2.7.0.1/user-guide/kubernetes-controller/build-deploy.md
+++ 
b/i18n/zh/docusaurus-plugin-content-docs/version-2.7.0.1/user-guide/kubernetes-controller/build-deploy.md
@@ -10,11 +10,11 @@ description: 构建和部署 Kubernetes 控制器
 建议参考[自定义部署](../../deployment/deployment-custom.md)构建自定义网关,在网关的 Maven 依赖中加入 
shenyu-kubernetes-controller 的依赖,网关即可集成 kubernetes 控制器。
 
 ```xml
-        <dependency>
-            <groupId>org.apache.shenyu</groupId>
-            <artifactId>shenyu-spring-boot-starter-k8s</artifactId>
-            <version>${project.version}</version>
-        </dependency>
+<dependency>
+    <groupId>org.apache.shenyu</groupId>
+    <artifactId>shenyu-spring-boot-starter-k8s</artifactId>
+    <version>${project.version}</version>
+</dependency>
 ```
 
 也可以直接使用官方构建的 docker 镜像(TODO,未完成)
diff --git 
a/i18n/zh/docusaurus-plugin-content-docs/version-2.7.0.1/user-guide/proxy/grpc-proxy.md
 
b/i18n/zh/docusaurus-plugin-content-docs/version-2.7.0.1/user-guide/proxy/grpc-proxy.md
index e86c7b890f..91d4f731a0 100644
--- 
a/i18n/zh/docusaurus-plugin-content-docs/version-2.7.0.1/user-guide/proxy/grpc-proxy.md
+++ 
b/i18n/zh/docusaurus-plugin-content-docs/version-2.7.0.1/user-guide/proxy/grpc-proxy.md
@@ -18,13 +18,13 @@ description: gRPC服务接入
 引入网关对`gRPC`的代理插件,在网关的 `pom.xml` 文件中增加如下依赖:
 
 ```xml
-        <!-- apache shenyu grpc plugin start-->
-        <dependency>
-            <groupId>org.apache.shenyu</groupId>
-            <artifactId>shenyu-spring-boot-starter-plugin-grpc</artifactId>
-            <version>${project.version}</version>
-        </dependency>
-        <!-- apache shenyu grpc plugin end-->
+<!-- apache shenyu grpc plugin start-->
+<dependency>
+    <groupId>org.apache.shenyu</groupId>
+    <artifactId>shenyu-spring-boot-starter-plugin-grpc</artifactId>
+    <version>${project.version}</version>
+</dependency>
+<!-- apache shenyu grpc plugin end-->
 ```
 
 * 重启你的网关服务。
@@ -36,17 +36,17 @@ description: gRPC服务接入
 1. 在由`gRPC`构建的微服务中,引入如下依赖:
 
 ```xml
-        <dependency>
-            <groupId>org.apache.shenyu</groupId>
-            <artifactId>shenyu-spring-boot-starter-client-grpc</artifactId>
-            <version>${shenyu.version}</version>
-            <exclusions>
-                <exclusion>
-                    <artifactId>guava</artifactId>
-                    <groupId>com.google.guava</groupId>
-                </exclusion>
-            </exclusions>
-        </dependency>
+<dependency>
+    <groupId>org.apache.shenyu</groupId>
+    <artifactId>shenyu-spring-boot-starter-client-grpc</artifactId>
+    <version>${shenyu.version}</version>
+    <exclusions>
+        <exclusion>
+            <artifactId>guava</artifactId>
+            <groupId>com.google.guava</groupId>
+        </exclusion>
+    </exclusions>
+</dependency>
 ```
 
 在 `shenyu-examples-grpc` 下执行以下命令生成 `java` 代码。
diff --git 
a/i18n/zh/docusaurus-plugin-content-docs/version-2.7.0.1/user-guide/proxy/http-proxy.md
 
b/i18n/zh/docusaurus-plugin-content-docs/version-2.7.0.1/user-guide/proxy/http-proxy.md
index 0d04b55714..aa064153d5 100644
--- 
a/i18n/zh/docusaurus-plugin-content-docs/version-2.7.0.1/user-guide/proxy/http-proxy.md
+++ 
b/i18n/zh/docusaurus-plugin-content-docs/version-2.7.0.1/user-guide/proxy/http-proxy.md
@@ -17,17 +17,17 @@ description: Http服务接入
 * 在网关的 `pom.xml` 文件中增加如下依赖:
 
   ```xml
-      <dependency>
-          <groupId>org.apache.shenyu</groupId>
-          <artifactId>shenyu-spring-boot-starter-plugin-divide</artifactId>
-          <version>${project.version}</version>
-      </dependency>
-      
-      <dependency>
-          <groupId>org.apache.shenyu</groupId>
-          <artifactId>shenyu-spring-boot-starter-plugin-httpclient</artifactId>
-          <version>${project.version}</version>
-      </dependency>
+  <dependency>
+      <groupId>org.apache.shenyu</groupId>
+      <artifactId>shenyu-spring-boot-starter-plugin-divide</artifactId>
+      <version>${project.version}</version>
+  </dependency>
+  
+  <dependency>
+      <groupId>org.apache.shenyu</groupId>
+      <artifactId>shenyu-spring-boot-starter-plugin-httpclient</artifactId>
+      <version>${project.version}</version>
+  </dependency>
   ```
 
 ## Http请求接入网关(springMvc 体系用户)
@@ -39,11 +39,11 @@ description: Http服务接入
   1. 在你的`http`服务中的 `pom.xml`文件 新增如下依赖:
 
   ```xml
-      <dependency>
-          <groupId>org.apache.shenyu</groupId>
-          <artifactId>shenyu-spring-boot-starter-client-springmvc</artifactId>
-          <version>${shenyu.version}</version>
-      </dependency>
+  <dependency>
+      <groupId>org.apache.shenyu</groupId>
+      <artifactId>shenyu-spring-boot-starter-client-springmvc</artifactId>
+      <version>${shenyu.version}</version>
+  </dependency>
   ```
 
   2. 在 application.yaml 增加如下配置:
@@ -71,53 +71,53 @@ description: Http服务接入
   在你的`http`服务中的 `pom.xml`文件 新增如下依赖:
 
   ```xml
-      <dependency>
-          <groupId>org.apache.shenyu</groupId>
-          <artifactId>shenyu-client-springmvc</artifactId>
-          <version>${shenyu.version}</version>
-      </dependency>
+  <dependency>
+      <groupId>org.apache.shenyu</groupId>
+      <artifactId>shenyu-client-springmvc</artifactId>
+      <version>${shenyu.version}</version>
+  </dependency>
    ```
 
   并在你的 `bean` 定义的 `xml` 文件中新增如下:
 
    ```xml
-      <bean id="springMvcClientBeanPostProcessor" 
class="org.apache.shenyu.client.springmvc.init.SpringMvcClientBeanPostProcessor">
-          <constructor-arg ref="clientPropertiesConfig"/>
-          <constructor-arg ref="clientRegisterRepository"/>
-      </bean>
-          
-      <!-- 根据实际的注册类型配置注册中心 -->
-      <bean id="shenyuRegisterCenterConfig" 
class="org.apache.shenyu.register.common.config.ShenyuRegisterCenterConfig">
-          <property name="registerType" value="http"/>
-          <property name="serverLists" value="http://localhost:9095"/>
-      </bean>
+  <bean id="springMvcClientBeanPostProcessor" 
class="org.apache.shenyu.client.springmvc.init.SpringMvcClientBeanPostProcessor">
+      <constructor-arg ref="clientPropertiesConfig"/>
+      <constructor-arg ref="clientRegisterRepository"/>
+  </bean>
+      
+  <!-- 根据实际的注册类型配置注册中心 -->
+  <bean id="shenyuRegisterCenterConfig" 
class="org.apache.shenyu.register.common.config.ShenyuRegisterCenterConfig">
+      <property name="registerType" value="http"/>
+      <property name="serverLists" value="http://localhost:9095"/>
+  </bean>
+
+  <!-- 客户端属性配置 -->
+  <bean id="clientPropertiesConfig"
+        
class="org.apache.shenyu.register.common.config.ShenyuClientConfig.ClientPropertiesConfig">
+    <property name="props">
+        <map>
+            <entry key="contextPath" value="/你的contextPath"/>
+            <entry key="appName" value="你的app名字"/>
+            <entry key="port" value="你的端口"/>
+            <entry key="isFull" value="false"/>
+        </map>
+    </property>
+  </bean>
+
+  <!-- 根据实际的注册类型配置客户端注册仓库 -->
+  <bean id="clientRegisterRepository" 
class="org.apache.shenyu.register.client.http.HttpClientRegisterRepository">
+      <constructor-arg ref="shenyuRegisterCenterConfig"/>
+  </bean>
   
-      <!-- 客户端属性配置 -->
-      <bean id="clientPropertiesConfig"
-            
class="org.apache.shenyu.register.common.config.ShenyuClientConfig.ClientPropertiesConfig">
-        <property name="props">
-            <map>
-                <entry key="contextPath" value="/你的contextPath"/>
-                <entry key="appName" value="你的app名字"/>
-                <entry key="port" value="你的端口"/>
-                <entry key="isFull" value="false"/>
-            </map>
-        </property>
-      </bean>
+  <bean id="shenyuClientShutdownHook" 
class="org.apache.shenyu.client.core.shutdown.ShenyuClientShutdownHook">
+      <constructor-arg ref="shenyuRegisterCenterConfig"/>
+      <constructor-arg ref="clientRegisterRepository"/>
+  </bean>
   
-      <!-- 根据实际的注册类型配置客户端注册仓库 -->
-      <bean id="clientRegisterRepository" 
class="org.apache.shenyu.register.client.http.HttpClientRegisterRepository">
-          <constructor-arg ref="shenyuRegisterCenterConfig"/>
-      </bean>
-      
-      <bean id="shenyuClientShutdownHook" 
class="org.apache.shenyu.client.core.shutdown.ShenyuClientShutdownHook">
-          <constructor-arg ref="shenyuRegisterCenterConfig"/>
-          <constructor-arg ref="clientRegisterRepository"/>
-      </bean>
-      
-      <bean id="contextRegisterListener" 
class="org.apache.shenyu.client.springmvc.init.ContextRegisterListener">
-          <constructor-arg ref="clientPropertiesConfig"/>
-      </bean>
+  <bean id="contextRegisterListener" 
class="org.apache.shenyu.client.springmvc.init.ContextRegisterListener">
+      <constructor-arg ref="clientPropertiesConfig"/>
+  </bean>
   ```
 
   在你的 `controller` 的接口上加上 `@ShenyuSpringMvcClient` 注解。
@@ -129,24 +129,24 @@ description: Http服务接入
 下面表示的是 `/test/payment`,`/test/findByUserId` 都会被网关代理。
 
 ```java
-  @RestController
-  @RequestMapping("/test")
-  @ShenyuSpringMvcClient(path = "/test/**")
-  public class HttpTestController {
-
-      @PostMapping("/payment")
-      public UserDTO post(@RequestBody final UserDTO userDTO) {
-          return userDTO;
-      }
-
-      @GetMapping("/findByUserId")
-      public UserDTO findByUserId(@RequestParam("userId") final String userId) 
{
-          UserDTO userDTO = new UserDTO();
-          userDTO.setUserId(userId);
-          userDTO.setUserName("hello world");
-          return userDTO;
-      }
-   }
+@RestController
+@RequestMapping("/test")
+@ShenyuSpringMvcClient(path = "/test/**")
+public class HttpTestController {
+
+    @PostMapping("/payment")
+    public UserDTO post(@RequestBody final UserDTO userDTO) {
+        return userDTO;
+    }
+
+    @GetMapping("/findByUserId")
+    public UserDTO findByUserId(@RequestParam("userId") final String userId) {
+        UserDTO userDTO = new UserDTO();
+        userDTO.setUserId(userId);
+        userDTO.setUserName("hello world");
+        return userDTO;
+    }
+ }
 ```
 
 示例二
@@ -155,82 +155,80 @@ description: Http服务接入
 
 
 ```java
-  @RestController
-  @RequestMapping("/order")
-  @ShenyuSpringMvcClient(path = "/order")
-  public class OrderController {
-
-      @PostMapping("/save")
-      @ShenyuSpringMvcClient(path = "/save")
-      public OrderDTO save(@RequestBody final OrderDTO orderDTO) {
-          orderDTO.setName("hello world save order");
-          return orderDTO;
-      }
-
-      @GetMapping("/findById")
-      public OrderDTO findById(@RequestParam("id") final String id) {
-          OrderDTO orderDTO = new OrderDTO();
-          orderDTO.setId(id);
-          orderDTO.setName("hello world findById");
-          return orderDTO;
-      }
-  }
+@RestController
+@RequestMapping("/order")
+@ShenyuSpringMvcClient(path = "/order")
+public class OrderController {
+
+    @PostMapping("/save")
+    @ShenyuSpringMvcClient(path = "/save")
+    public OrderDTO save(@RequestBody final OrderDTO orderDTO) {
+        orderDTO.setName("hello world save order");
+        return orderDTO;
+    }
+
+    @GetMapping("/findById")
+    public OrderDTO findById(@RequestParam("id") final String id) {
+        OrderDTO orderDTO = new OrderDTO();
+        orderDTO.setId(id);
+        orderDTO.setName("hello world findById");
+        return orderDTO;
+    }
+}
 ```
 
 示例三:这是一种简化的使用方式,只需要一个简单的注释即可使用元数据注册到网关.
 
特别说明:目前只支持`@RequestMapping、@GetMapping、@PostMapping、@DeleteMapping、@PutMapping`注解,并且只对`@XXXMapping`中的第一个路径有效
 
 ```java
-  @RestController
-  @RequestMapping("new/feature")
-  public class NewFeatureController {
-  
-    /**
-     * no support gateway access api.
-     *
-     * @return result
-     */
-    @RequestMapping("/gateway/not")
-    public EntityResult noSupportGateway() {
-      return new EntityResult(200, "no support gateway access");
-    }
-  
-    /**
-     * Do not use shenyu annotation path. used request mapping path.
-     *
-     * @return result
-     */
-    @RequestMapping("/requst/mapping/path")
-    @ShenyuSpringCloudClient
-    public EntityResult requestMappingUrl() {
-      return new EntityResult(200, "Do not use shenyu annotation path. used 
request mapping path");
-    }
-  
-    /**
-     * Do not use shenyu annotation path. used post mapping path.
-     *
-     * @return result
-     */
-    @PostMapping("/post/mapping/path")
-    @ShenyuSpringCloudClient
-    public EntityResult postMappingUrl() {
-      return new EntityResult(200, "Do not use shenyu annotation path. used 
post mapping path");
-    }
-  
-    /**
-     * Do not use shenyu annotation path. used post mapping path.
-     *
-     * @return result
-     */
-    @GetMapping("/get/mapping/path")
-    @ShenyuSpringCloudClient
-    public EntityResult getMappingUrl() {
-      return new EntityResult(200, "Do not use shenyu annotation path. used 
get mapping path");
-    }
+@RestController
+@RequestMapping("new/feature")
+public class NewFeatureController {
+
+  /**
+   * no support gateway access api.
+   *
+   * @return result
+   */
+  @RequestMapping("/gateway/not")
+  public EntityResult noSupportGateway() {
+    return new EntityResult(200, "no support gateway access");
   }
 
-```
+  /**
+   * Do not use shenyu annotation path. used request mapping path.
+   *
+   * @return result
+   */
+  @RequestMapping("/requst/mapping/path")
+  @ShenyuSpringCloudClient
+  public EntityResult requestMappingUrl() {
+    return new EntityResult(200, "Do not use shenyu annotation path. used 
request mapping path");
+  }
+
+  /**
+   * Do not use shenyu annotation path. used post mapping path.
+   *
+   * @return result
+   */
+  @PostMapping("/post/mapping/path")
+  @ShenyuSpringCloudClient
+  public EntityResult postMappingUrl() {
+    return new EntityResult(200, "Do not use shenyu annotation path. used post 
mapping path");
+  }
 
+  /**
+   * Do not use shenyu annotation path. used post mapping path.
+   *
+   * @return result
+   */
+  @GetMapping("/get/mapping/path")
+  @ShenyuSpringCloudClient
+  public EntityResult getMappingUrl() {
+    return new EntityResult(200, "Do not use shenyu annotation path. used get 
mapping path");
+  }
+}
+```
 
 * 启动你的项目,你的服务接口接入到了网关,进入`shenyu-admin`后台管理系统的`插件列表 -> http process -> 
divide`,看到自动创建的选择器和规则。
 
diff --git 
a/i18n/zh/docusaurus-plugin-content-docs/version-2.7.0.1/user-guide/proxy/motan-proxy.md
 
b/i18n/zh/docusaurus-plugin-content-docs/version-2.7.0.1/user-guide/proxy/motan-proxy.md
index d9c72a22c4..17aa4684cc 100644
--- 
a/i18n/zh/docusaurus-plugin-content-docs/version-2.7.0.1/user-guide/proxy/motan-proxy.md
+++ 
b/i18n/zh/docusaurus-plugin-content-docs/version-2.7.0.1/user-guide/proxy/motan-proxy.md
@@ -18,32 +18,32 @@ description: Motan服务接入
 引入网关对`Motan`的代理插件,在网关的 `pom.xml` 文件中增加如下依赖:
 
 ```xml
-        <!-- apache shenyu motan plugin -->
-        <dependency>
-            <groupId>org.apache.shenyu</groupId>
-            <artifactId>shenyu-spring-boot-starter-plugin-motan</artifactId>
-            <version>${project.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>com.weibo</groupId>
-            <artifactId>motan-core</artifactId>
-            <version>1.1.9</version>
-        </dependency>
-        <dependency>
-            <groupId>com.weibo</groupId>
-            <artifactId>motan-registry-zookeeper</artifactId>
-            <version>1.1.9</version>
-        </dependency>
-        <dependency>
-            <groupId>com.weibo</groupId>
-            <artifactId>motan-transport-netty4</artifactId>
-            <version>1.1.9</version>
-        </dependency>
-        <dependency>
-            <groupId>com.weibo</groupId>
-            <artifactId>motan-springsupport</artifactId>
-            <version>1.1.9</version>
-        </dependency>
+<!-- apache shenyu motan plugin -->
+<dependency>
+    <groupId>org.apache.shenyu</groupId>
+    <artifactId>shenyu-spring-boot-starter-plugin-motan</artifactId>
+    <version>${project.version}</version>
+</dependency>
+<dependency>
+    <groupId>com.weibo</groupId>
+    <artifactId>motan-core</artifactId>
+    <version>1.1.9</version>
+</dependency>
+<dependency>
+    <groupId>com.weibo</groupId>
+    <artifactId>motan-registry-zookeeper</artifactId>
+    <version>1.1.9</version>
+</dependency>
+<dependency>
+    <groupId>com.weibo</groupId>
+    <artifactId>motan-transport-netty4</artifactId>
+    <version>1.1.9</version>
+</dependency>
+<dependency>
+    <groupId>com.weibo</groupId>
+    <artifactId>motan-springsupport</artifactId>
+    <version>1.1.9</version>
+</dependency>
 ```
 
 * 重启你的网关服务。
diff --git 
a/i18n/zh/docusaurus-plugin-content-docs/version-2.7.0.1/user-guide/proxy/sofa-rpc-proxy.md
 
b/i18n/zh/docusaurus-plugin-content-docs/version-2.7.0.1/user-guide/proxy/sofa-rpc-proxy.md
index 76f6f9604b..1be1b8f351 100644
--- 
a/i18n/zh/docusaurus-plugin-content-docs/version-2.7.0.1/user-guide/proxy/sofa-rpc-proxy.md
+++ 
b/i18n/zh/docusaurus-plugin-content-docs/version-2.7.0.1/user-guide/proxy/sofa-rpc-proxy.md
@@ -21,37 +21,37 @@ description: sofa 接入 Apache ShenYu 网关
 1. 在网关的 `pom.xml` 文件中增加如下依赖:
 
  ```xml
-        <dependency>
-            <groupId>com.alipay.sofa</groupId>
-            <artifactId>sofa-rpc-all</artifactId>
-            <version>5.7.6</version>
-            <exclusions>
-                <exclusion>
-                    <groupId>net.jcip</groupId>
-                    <artifactId>jcip-annotations</artifactId>
-                </exclusion>
-            </exclusions>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.curator</groupId>
-            <artifactId>curator-client</artifactId>
-            <version>4.0.1</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.curator</groupId>
-            <artifactId>curator-framework</artifactId>
-            <version>4.0.1</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.curator</groupId>
-            <artifactId>curator-recipes</artifactId>
-            <version>4.0.1</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.shenyu</groupId>
-            <artifactId>shenyu-spring-boot-starter-plugin-sofa</artifactId>
-            <version>${project.version}</version>
-        </dependency>
+ <dependency>
+     <groupId>com.alipay.sofa</groupId>
+     <artifactId>sofa-rpc-all</artifactId>
+     <version>5.7.6</version>
+     <exclusions>
+         <exclusion>
+             <groupId>net.jcip</groupId>
+             <artifactId>jcip-annotations</artifactId>
+         </exclusion>
+     </exclusions>
+ </dependency>
+ <dependency>
+     <groupId>org.apache.curator</groupId>
+     <artifactId>curator-client</artifactId>
+     <version>4.0.1</version>
+ </dependency>
+ <dependency>
+     <groupId>org.apache.curator</groupId>
+     <artifactId>curator-framework</artifactId>
+     <version>4.0.1</version>
+ </dependency>
+ <dependency>
+     <groupId>org.apache.curator</groupId>
+     <artifactId>curator-recipes</artifactId>
+     <version>4.0.1</version>
+ </dependency>
+ <dependency>
+     <groupId>org.apache.shenyu</groupId>
+     <artifactId>shenyu-spring-boot-starter-plugin-sofa</artifactId>
+     <version>${project.version}</version>
+ </dependency>
  ```
 
 2. 重启网关服务。
@@ -63,16 +63,16 @@ description: sofa 接入 Apache ShenYu 网关
 1. `springboot`构建,引入以下依赖:
 
  ```xml
-         <dependency>
-             <groupId>com.alipay.sofa</groupId>
-             <artifactId>rpc-sofa-boot-starter</artifactId>
-             <version>${rpc-sofa-boot-starter.version}</version>
-         </dependency>
-                               <dependency>
-             <groupId>org.apache.shenyu</groupId>
-             <artifactId>shenyu-spring-boot-starter-client-sofa</artifactId>
-             <version>${shenyu.version}</version>
-         </dependency>
+ <dependency>
+     <groupId>com.alipay.sofa</groupId>
+     <artifactId>rpc-sofa-boot-starter</artifactId>
+     <version>${rpc-sofa-boot-starter.version}</version>
+ </dependency>
+<dependency>
+     <groupId>org.apache.shenyu</groupId>
+     <artifactId>shenyu-spring-boot-starter-client-sofa</artifactId>
+     <version>${shenyu.version}</version>
+ </dependency>
  ```
 
 2. 在 application.yml 中配置
diff --git 
a/i18n/zh/docusaurus-plugin-content-docs/version-2.7.0.1/user-guide/proxy/tars-proxy.md
 
b/i18n/zh/docusaurus-plugin-content-docs/version-2.7.0.1/user-guide/proxy/tars-proxy.md
index 4701be139e..6d558be76e 100644
--- 
a/i18n/zh/docusaurus-plugin-content-docs/version-2.7.0.1/user-guide/proxy/tars-proxy.md
+++ 
b/i18n/zh/docusaurus-plugin-content-docs/version-2.7.0.1/user-guide/proxy/tars-proxy.md
@@ -18,19 +18,19 @@ description: Tars服务接入
 引入网关对`Tars`的代理插件,在网关的 `pom.xml` 文件中增加如下依赖:
 
 ```xml
-        <!-- apache shenyu tars plugin start-->
-        <dependency>
-            <groupId>org.apache.shenyu</groupId>
-            <artifactId>shenyu-spring-boot-starter-plugin-tars</artifactId>
-            <version>${project.version}</version>
-        </dependency>
-
-        <dependency>
-            <groupId>com.tencent.tars</groupId>
-            <artifactId>tars-client</artifactId>
-            <version>1.7.2</version>
-        </dependency>
-        <!-- apache shenyu tars plugin end-->
+<!-- apache shenyu tars plugin start-->
+<dependency>
+    <groupId>org.apache.shenyu</groupId>
+    <artifactId>shenyu-spring-boot-starter-plugin-tars</artifactId>
+    <version>${project.version}</version>
+</dependency>
+
+<dependency>
+    <groupId>com.tencent.tars</groupId>
+    <artifactId>tars-client</artifactId>
+    <version>1.7.2</version>
+</dependency>
+<!-- apache shenyu tars plugin end-->
 ```
 
 * 重启你的网关服务。
diff --git 
a/i18n/zh/docusaurus-plugin-content-docs/version-2.7.0.1/user-guide/proxy/websocket-proxy.md
 
b/i18n/zh/docusaurus-plugin-content-docs/version-2.7.0.1/user-guide/proxy/websocket-proxy.md
index 214aba7690..b8e6506711 100644
--- 
a/i18n/zh/docusaurus-plugin-content-docs/version-2.7.0.1/user-guide/proxy/websocket-proxy.md
+++ 
b/i18n/zh/docusaurus-plugin-content-docs/version-2.7.0.1/user-guide/proxy/websocket-proxy.md
@@ -15,12 +15,12 @@ description: Websocket服务接入
 引入网关对 `Websocket`的代理插件,在网关的 `pom.xml` 文件中增加如下依赖,默认已引入该依赖:
 
 ```xml
-        <!--shenyu websocket plugin start-->
-        <dependency>
-            <groupId>org.apache.shenyu</groupId>
-            
<artifactId>shenyu-spring-boot-starter-plugin-websocket</artifactId>
-            <version>${project.version}</version>
-        </dependency>
+<!--shenyu websocket plugin start-->
+<dependency>
+    <groupId>org.apache.shenyu</groupId>
+    <artifactId>shenyu-spring-boot-starter-plugin-websocket</artifactId>
+    <version>${project.version}</version>
+</dependency>
 ```
 
 * 重启你的网关服务。

Reply via email to