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 @@
### 更新数据
-请求地址:PUT /v1/examples
+请求地址:PUT /v1/examples/{id}
requestBody:(application/json)
+
```
{
更新请求的对象VO
@@ -119,7 +120,8 @@
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 @@
以 业务领域 为单位,实现 业务领域、业务接口,如:
+* base,基础功能
* system,系统功能
-
* biz,业务示例
每个 业务领域项目下,又分为 领域层 domain、接口层 api
@@ -516,12 +516,12 @@
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>.*), /$\{suffix}
+ - RewritePath=/api/base/(?<suffix>.*), /$\{suffix}
- id: biz-api
uri: http://localhost:8081
predicates: