feat: 实现一些用户接口

This commit is contained in:
2024-01-15 00:03:15 +08:00
parent d2a6d7fd58
commit b37c8cbdd9
9 changed files with 1031 additions and 0 deletions

32
main.http Normal file
View File

@@ -0,0 +1,32 @@
@url = http://localhost:8001/api
@json = Content-Type: application/json
### main
GET {{url}}
############################# user
###
GET {{url}}/user
###
GET {{url}}/user/6592b261ec153ffe0080527f
###
POST {{url}}/user
Content-Type: application/json
{
"username": "dd",
"password": "wwgweaerhgr",
"truename": "Davie Dro"
}
###
PUT {{url}}/user/6592b261ec153ffe0080527f
{{json}}
{
"truename": "张表4"
}