相关文章推荐

ModifyResponse插件

说明

  • shenyu-admin —> 基础配置 —> 插件管理 —> modifyResponse 设置为开启。
  • 在网关的 pom.xml 文件中添加 modifyResponse 的支持。
    1. <!-- apache shenyu modify response plugin start-->
    2. <dependency>
    3. <groupId>org.apache.shenyu</groupId>
    4. <artifactId>shenyu-spring-boot-starter-plugin-modify-response</artifactId>
    5. <version>${project.version}</version>
    6. </dependency>
    7. <!-- apache shenyu modify response plugin end-->
     
    推荐文章