feat: update

This commit is contained in:
yanghao05
2025-04-29 20:57:56 +08:00
parent 029ff4d84a
commit dd702a5bee
2 changed files with 17 additions and 6 deletions

View File

@@ -58,6 +58,11 @@ Content-Type: application/json
GET {{host}}/v1/admin/orders HTTP/1.1
Content-Type: application/json
### get posts
GET {{host}}/v1/posts HTTP/1.1
Content-Type: application/json
Cookie: token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjoxMDAxLCJleHAiOjE3NDY1MzU4MjYsIm5iZiI6MTc0NTkzMTAxNn0.Vg8LqDQLkpEvohBYEPSTPrGzKAyMNJ_m7uSm3NBbuDM
### get orders
GET {{host}}/v1/posts/mine HTTP/1.1
Content-Type: application/json
@@ -79,4 +84,6 @@ Authorization: {{token}}
### get user profile
GET {{host}}/v1/users/profile HTTP/1.1
Authorization: {{token}}
Authorization: {{token}}