From: 刘洪青 Date: Wed, 4 Sep 2019 14:14:59 +0000 (+0800) Subject: docs: 完善文档 X-Git-Tag: v0.0.1^2~57 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=c34fc3f61148fb8a1e48c5be68031629e1299067;p=institute%2Fsw-backend.git docs: 完善文档 --- diff --git a/doc/DEV_SPEC.md b/doc/DEV_SPEC.md index de14510..45a45c8 100644 --- a/doc/DEV_SPEC.md +++ b/doc/DEV_SPEC.md @@ -91,8 +91,9 @@ requestBody:(application/json) ### 更新数据 -请求地址:PUT /v1/examples +请求地址:PUT /v1/examples/{id} requestBody:(application/json) + ``` { 更新请求的对象VO @@ -119,7 +120,8 @@ requestBody:(application/json) id 响应: -状态码:204 No Content +状态码:200 OK + ``` { "code": 0, diff --git a/doc/USAGE.md b/doc/USAGE.md index 40d7b96..2f1ce7a 100644 --- a/doc/USAGE.md +++ b/doc/USAGE.md @@ -17,8 +17,8 @@ common,提供公用的工具类、框架代码 以 业务领域 为单位,实现 业务领域、业务接口,如: +* base,基础功能 * system,系统功能 - * biz,业务示例 每个 业务领域项目下,又分为 领域层 domain、接口层 api @@ -516,12 +516,12 @@ spring: cloud: gateway: routes: - - id: system-api + - id: base-api uri: http://localhost:8081 predicates: - - Path=/api/system/** + - Path=/api/base/** filters: - - RewritePath=/api/system/(?.*), /$\{suffix} + - RewritePath=/api/base/(?.*), /$\{suffix} - id: biz-api uri: http://localhost:8081 predicates: