pull/1/head
tanghc 5 years ago
parent 0cc8c0b991
commit 78c93578d9
  1. 64
      doc/docs/_sidebar.md
  2. 2
      doc/docs/files/10070_easyopen支持.md
  3. 2
      doc/docs/files/10100_提供restful接口.md
  4. 2
      sop-auth/pom.xml
  5. 2
      sop-common/pom.xml
  6. 4
      sop-common/sop-gateway-common/pom.xml
  7. 4
      sop-common/sop-service-common/pom.xml
  8. 2
      sop-example/sop-book/sop-book-web/pom.xml
  9. 2
      sop-example/sop-easyopen/pom.xml
  10. 2
      sop-example/sop-springmvc/pom.xml
  11. 2
      sop-example/sop-story/sop-story-web/pom.xml
  12. 2
      sop-gateway/pom.xml
  13. 2
      sop-website/pom.xml

@ -1,34 +1,34 @@
* [首页](/?t=1570521912278) * [首页](/?t=1570617107575)
* 开发文档 * 开发文档
* [快速体验](files/10010_快速体验.md?t=1570521912281) * [快速体验](files/10010_快速体验.md?t=1570617107578)
* [项目接入到SOP](files/10011_项目接入到SOP.md?t=1570521912300) * [项目接入到SOP](files/10011_项目接入到SOP.md?t=1570617107596)
* [新增接口](files/10020_新增接口.md?t=1570521912300) * [新增接口](files/10020_新增接口.md?t=1570617107596)
* [开发流程](files/10021_开发流程.md?t=1570521912300) * [开发流程](files/10021_开发流程.md?t=1570617107596)
* [业务参数校验](files/10030_业务参数校验.md?t=1570521912301) * [业务参数校验](files/10030_业务参数校验.md?t=1570617107596)
* [错误处理](files/10040_错误处理.md?t=1570521912301) * [错误处理](files/10040_错误处理.md?t=1570617107596)
* [编写文档](files/10041_编写文档.md?t=1570521912301) * [编写文档](files/10041_编写文档.md?t=1570617107596)
* [接口交互详解](files/10050_接口交互详解.md?t=1570521912301) * [接口交互详解](files/10050_接口交互详解.md?t=1570617107596)
* [easyopen支持](files/10070_easyopen支持.md?t=1570521912301) * [easyopen支持](files/10070_easyopen支持.md?t=1570617107597)
* [使用签名校验工具](files/10080_使用签名校验工具.md?t=1570521912301) * [使用签名校验工具](files/10080_使用签名校验工具.md?t=1570617107597)
* [ISV管理](files/10085_ISV管理.md?t=1570521912301) * [ISV管理](files/10085_ISV管理.md?t=1570617107597)
* [自定义返回结果](files/10087_自定义返回结果.md?t=1570521912301) * [自定义返回结果](files/10087_自定义返回结果.md?t=1570617107597)
* [自定义过滤器](files/10088_自定义过滤器.md?t=1570521912302) * [自定义过滤器](files/10088_自定义过滤器.md?t=1570617107597)
* [路由授权](files/10090_路由授权.md?t=1570521912302) * [路由授权](files/10090_路由授权.md?t=1570617107597)
* [接口限流](files/10092_接口限流.md?t=1570521912302) * [接口限流](files/10092_接口限流.md?t=1570617107597)
* [监控日志](files/10093_监控日志.md?t=1570521912302) * [监控日志](files/10093_监控日志.md?t=1570617107597)
* [SDK开发](files/10095_SDK开发.md?t=1570521912302) * [SDK开发](files/10095_SDK开发.md?t=1570617107597)
* [使用SpringCloudGateway](files/10096_使用SpringCloudGateway.md?t=1570521912302) * [使用SpringCloudGateway](files/10096_使用SpringCloudGateway.md?t=1570617107597)
* [应用授权](files/10097_应用授权.md?t=1570521912302) * [应用授权](files/10097_应用授权.md?t=1570617107598)
* [提供restful接口](files/10100_提供restful接口.md?t=1570521912302) * [提供restful接口](files/10100_提供restful接口.md?t=1570617107598)
* [文件上传](files/10104_文件上传.md?t=1570521912302) * [文件上传](files/10104_文件上传.md?t=1570617107598)
* [配置Sleuth链路追踪](files/10109_配置Sleuth链路追踪.md?t=1570521912303) * [配置Sleuth链路追踪](files/10109_配置Sleuth链路追踪.md?t=1570617107598)
* [预发布灰度发布](files/10110_预发布灰度发布.md?t=1570521912303) * [预发布灰度发布](files/10110_预发布灰度发布.md?t=1570617107598)
* [动态修改请求参数](files/10111_动态修改请求参数.md?t=1570521912303) * [动态修改请求参数](files/10111_动态修改请求参数.md?t=1570617107598)
* [使用eureka](files/10112_使用eureka.md?t=1570521912303) * [使用eureka](files/10112_使用eureka.md?t=1570617107598)
* [扩展其它注册中心](files/10113_扩展其它注册中心.md?t=1570521912303) * [扩展其它注册中心](files/10113_扩展其它注册中心.md?t=1570617107598)
* 原理分析 * 原理分析
* [原理分析之@ApiMapping](files/90010_原理分析之@ApiMapping.md?t=1570521912303) * [原理分析之@ApiMapping](files/90010_原理分析之@ApiMapping.md?t=1570617107598)
* [原理分析之如何存储路由](files/90011_原理分析之如何存储路由.md?t=1570521912303) * [原理分析之如何存储路由](files/90011_原理分析之如何存储路由.md?t=1570617107598)
* [原理分析之如何路由](files/90012_原理分析之如何路由.md?t=1570521912303) * [原理分析之如何路由](files/90012_原理分析之如何路由.md?t=1570617107598)
* [原理分析之文档归纳](files/90013_原理分析之文档归纳.md?t=1570521912303) * [原理分析之文档归纳](files/90013_原理分析之文档归纳.md?t=1570617107598)
* [常见问题](files/90100_常见问题.md?t=1570521912303) * [常见问题](files/90100_常见问题.md?t=1570617107598)

@ -13,7 +13,7 @@ SOP对easyopen项目提供了很好的支持,如果您的服务端使用了eas
<dependency> <dependency>
<groupId>com.gitee.sop</groupId> <groupId>com.gitee.sop</groupId>
<artifactId>sop-service-common</artifactId> <artifactId>sop-service-common</artifactId>
<version>2.3.0-SNAPSHOT</version> <version>最新版本</version>
</dependency> </dependency>
<!-- 使用nacos注册中心 <!-- 使用nacos注册中心

@ -15,6 +15,8 @@ sop.restful.enable=true
请求格式为:`http://ip:port/rest/your_path`,其中`http://ip:port/rest/`为固定部分,后面跟微服务请求路径。 请求格式为:`http://ip:port/rest/your_path`,其中`http://ip:port/rest/`为固定部分,后面跟微服务请求路径。
> 如果想把`rest`部分改成其它名字,属性文件配置`sop.restful.path=/aaa`,则请求格式变为:`http://ip:port/aaa/your_path`
注意:为了确保各个微服务路径不冲突,必须保证类上方定义的`@RequestMapping`内容唯一,不与其它微服务重复。 注意:为了确保各个微服务路径不冲突,必须保证类上方定义的`@RequestMapping`内容唯一,不与其它微服务重复。
下面是一个微服务的接口例子 下面是一个微服务的接口例子

@ -26,7 +26,7 @@
<dependency> <dependency>
<groupId>com.gitee.sop</groupId> <groupId>com.gitee.sop</groupId>
<artifactId>sop-service-common</artifactId> <artifactId>sop-service-common</artifactId>
<version>2.3.0-SNAPSHOT</version> <version>2.3.1-SNAPSHOT</version>
</dependency> </dependency>
<!-- sop相关配置 end--> <!-- sop相关配置 end-->

@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>com.gitee.sop</groupId> <groupId>com.gitee.sop</groupId>
<artifactId>sop-common</artifactId> <artifactId>sop-common</artifactId>
<version>2.3.0-SNAPSHOT</version> <version>2.3.1-SNAPSHOT</version>
<packaging>pom</packaging> <packaging>pom</packaging>
<properties> <properties>

@ -5,11 +5,11 @@
<parent> <parent>
<groupId>com.gitee.sop</groupId> <groupId>com.gitee.sop</groupId>
<artifactId>sop-common</artifactId> <artifactId>sop-common</artifactId>
<version>2.3.0-SNAPSHOT</version> <version>2.3.1-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath> <relativePath>../pom.xml</relativePath>
</parent> </parent>
<artifactId>sop-gateway-common</artifactId> <artifactId>sop-gateway-common</artifactId>
<version>2.3.0-SNAPSHOT</version> <version>2.3.1-SNAPSHOT</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<name>sop-gateway-common</name> <name>sop-gateway-common</name>

@ -6,11 +6,11 @@
<parent> <parent>
<groupId>com.gitee.sop</groupId> <groupId>com.gitee.sop</groupId>
<artifactId>sop-common</artifactId> <artifactId>sop-common</artifactId>
<version>2.3.0-SNAPSHOT</version> <version>2.3.1-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath> <relativePath>../pom.xml</relativePath>
</parent> </parent>
<artifactId>sop-service-common</artifactId> <artifactId>sop-service-common</artifactId>
<version>2.3.0-SNAPSHOT</version> <version>2.3.1-SNAPSHOT</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<name>sop-service-common</name> <name>sop-service-common</name>

@ -28,7 +28,7 @@
<dependency> <dependency>
<groupId>com.gitee.sop</groupId> <groupId>com.gitee.sop</groupId>
<artifactId>sop-service-common</artifactId> <artifactId>sop-service-common</artifactId>
<version>2.3.0-SNAPSHOT</version> <version>2.3.1-SNAPSHOT</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.gitee.sop</groupId> <groupId>com.gitee.sop</groupId>

@ -29,7 +29,7 @@
<dependency> <dependency>
<groupId>com.gitee.sop</groupId> <groupId>com.gitee.sop</groupId>
<artifactId>sop-service-common</artifactId> <artifactId>sop-service-common</artifactId>
<version>2.3.0-SNAPSHOT</version> <version>2.3.1-SNAPSHOT</version>
</dependency> </dependency>
<!-- 使用nacos注册中心 <!-- 使用nacos注册中心

@ -20,7 +20,7 @@
<dependency> <dependency>
<groupId>com.gitee.sop</groupId> <groupId>com.gitee.sop</groupId>
<artifactId>sop-service-common</artifactId> <artifactId>sop-service-common</artifactId>
<version>2.3.0-SNAPSHOT</version> <version>2.3.1-SNAPSHOT</version>
</dependency> </dependency>
<!-- nacos --> <!-- nacos -->
<dependency> <dependency>

@ -28,7 +28,7 @@
<dependency> <dependency>
<groupId>com.gitee.sop</groupId> <groupId>com.gitee.sop</groupId>
<artifactId>sop-service-common</artifactId> <artifactId>sop-service-common</artifactId>
<version>2.3.0-SNAPSHOT</version> <version>2.3.1-SNAPSHOT</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.gitee.sop</groupId> <groupId>com.gitee.sop</groupId>

@ -29,7 +29,7 @@
<dependency> <dependency>
<groupId>com.gitee.sop</groupId> <groupId>com.gitee.sop</groupId>
<artifactId>sop-gateway-common</artifactId> <artifactId>sop-gateway-common</artifactId>
<version>2.3.0-SNAPSHOT</version> <version>2.3.1-SNAPSHOT</version>
</dependency> </dependency>
<!-- ↓↓↓ 使用spring cloud zuul ↓↓↓ --> <!-- ↓↓↓ 使用spring cloud zuul ↓↓↓ -->

@ -35,7 +35,7 @@
<dependency> <dependency>
<groupId>com.gitee.sop</groupId> <groupId>com.gitee.sop</groupId>
<artifactId>sop-gateway-common</artifactId> <artifactId>sop-gateway-common</artifactId>
<version>2.3.0-SNAPSHOT</version> <version>2.3.1-SNAPSHOT</version>
</dependency> </dependency>
<dependency> <dependency>

Loading…
Cancel
Save