|
@@ -93,7 +93,7 @@ GET {{base_url}}/v1/auth/user HTTP/1.1
|
|
|
Authorization: Bearer {{access_token}}
|
|
Authorization: Bearer {{access_token}}
|
|
|
|
|
|
|
|
|
|
|
|
|
-### users
|
|
|
|
|
|
|
+### 用户列表
|
|
|
GET {{base_url}}/v1/users HTTP/1.1
|
|
GET {{base_url}}/v1/users HTTP/1.1
|
|
|
|
|
|
|
|
### 创建分类
|
|
### 创建分类
|
|
@@ -121,10 +121,6 @@ GET {{base_url}}/v1/categories?page=2&sort=id&order=asc&per_page=10 HTTP/1.1
|
|
|
Content-Type: application/json
|
|
Content-Type: application/json
|
|
|
|
|
|
|
|
### 删除分类
|
|
### 删除分类
|
|
|
-DELETE {{base_url}}/v1/categories HTTP/1.1
|
|
|
|
|
|
|
+DELETE {{base_url}}/v1/categories/1 HTTP/1.1
|
|
|
Authorization: Bearer {{access_token}}
|
|
Authorization: Bearer {{access_token}}
|
|
|
-Content-Type: application/json
|
|
|
|
|
-
|
|
|
|
|
-{
|
|
|
|
|
- "id": 1
|
|
|
|
|
-}
|
|
|
|
|
|
|
+Content-Type: application/json
|