接口文档
此文档由https://apifox.com/生成
exported at 2023-07-10 15:14:24
fixupUser
BASIC
Path: fixupUser
Method: POST
REQUEST
Query:
name | value | required | desc |
---|---|---|---|
newName | YES | ||
oldName | YES |
RESPONSE
Headers:
name | value | required | desc |
---|---|---|---|
content-type | application/json;charset=UTF-8 | NO |
Body:
name | type | desc |
---|---|---|
integer |
Response Demo:
appendUser
BASIC
Path: appendUser
Method: POST
REQUEST
Query:
name | value | required | desc |
---|---|---|---|
name | YES |
RESPONSE
Headers:
name | value | required | desc |
---|---|---|---|
content-type | application/json;charset=UTF-8 | NO |
Body:
name | type | desc |
---|---|---|
integer |
Response Demo:
allUser
BASIC
Path: allUser
Method: GET
REQUEST
RESPONSE
Headers:
name | value | required | desc |
---|---|---|---|
content-type | application/json;charset=UTF-8 | NO |
Body:
name | type | desc |
---|---|---|
array | ||
object |
Response Demo:
[
{}
]
borrowing
BASIC
Path: borrowing
Method: POST
REQUEST
Query:
name | value | required | desc |
---|---|---|---|
book | YES | ||
user | YES |
RESPONSE
Headers:
name | value | required | desc |
---|---|---|---|
content-type | application/json;charset=UTF-8 | NO |
Body:
name | type | desc |
---|---|---|
integer |
Response Demo:
1
success
-1
book absent
-2
user absent
allUserName
BASIC
Path: allUserName
Method: GET
REQUEST
RESPONSE
Headers:
name | value | required | desc |
---|---|---|---|
content-type | application/json;charset=UTF-8 | NO |
Body:
name | type | desc |
---|---|---|
array | ||
object |
Response Demo:
[
{}
]
allBookName
BASIC
Path: allBookName
Method: GET
REQUEST
RESPONSE
Headers:
name | value | required | desc |
---|---|---|---|
content-type | application/json;charset=UTF-8 | NO |
Body:
name | type | desc |
---|---|---|
array | ||
object |
Response Demo:
[
{}
]
removeBook
BASIC
Path: removeBook
Method: POST
REQUEST
Query:
name | value | required | desc |
---|---|---|---|
name | YES |
RESPONSE
Headers:
name | value | required | desc |
---|---|---|---|
content-type | application/json;charset=UTF-8 | NO |
Body:
name | type | desc |
---|---|---|
integer |
Response Demo:
returnBook
BASIC
Path: returnBook
Method: POST
REQUEST
Query:
name | value | required | desc |
---|---|---|---|
book | YES | ||
user | YES |
RESPONSE
Headers:
name | value | required | desc |
---|---|---|---|
content-type | application/json;charset=UTF-8 | NO |
Body:
name | type | desc |
---|---|---|
integer |
Response Demo:
1
success
-1
book absent
-2
user absent
appendBook
BASIC
Path: appendBook
Method: POST
REQUEST
Query:
name | value | required | desc |
---|---|---|---|
name | YES | ||
author | YES |
RESPONSE
Headers:
name | value | required | desc |
---|---|---|---|
content-type | application/json;charset=UTF-8 | NO |
Body:
name | type | desc |
---|---|---|
integer |
Response Demo:
allBook
BASIC
Path: allBook
Method: GET
REQUEST
RESPONSE
Headers:
name | value | required | desc |
---|---|---|---|
content-type | application/json;charset=UTF-8 | NO |
Body:
name | type | desc |
---|---|---|
array | ||
object |
Response Demo:
[
{}
]
removeUser
BASIC
Path: removeUser
Method: POST
REQUEST
Query:
name | value | required | desc |
---|---|---|---|
name | YES |
RESPONSE
Headers:
name | value | required | desc |
---|---|---|---|
content-type | application/json;charset=UTF-8 | NO |
Body:
name | type | desc |
---|---|---|
integer |
Response Demo: