借阅详情获取
开发中
GET
https://mock.apifox.cn/m1/2398938-0-default/api/borrows/{id}
请求参数
Path 参数
id
string
必需
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://mock.apifox.cn/m1/2398938-0-default/api/borrows/'
返回响应
🟢200成功
application/json
Body
data
object
必需
book
object
必需
borrowAt
string
必需
user
object
必需
status
string
必需
示例值:
onoff
_id
string
必需
success
string
必需
示例
{
"data": {
"book": {
"name": "string",
"author": "string",
"tag": 0,
"description": "string",
"_id": "string",
"cover": "string",
"stock": 0,
"publishAt": 0,
"createdAt": 0
},
"borrowAt": "string",
"user": {
"name": "string",
"_id": "string",
"role": "string",
"status": "string",
"nickName": "string"
},
"status": "on",
"_id": "string"
},
"success": "string"
}