文档
测试
GET
api/book/log

接口描述

获取借阅信息

响应参数

参数名
类型
描述
必填
code
int
必填
msg
char
必填
data
object
必填
nums
int
借阅记录个数
必填
result
array
必填
book_id
必填
book_name
必填
status
int
借阅状态
必填
press
必填
author
必填

说明 / 示例

返回示例 ```json { "code": 20000, "msg": "验证通过", "data": { "nums": 3, "result": [ { "book_id": "b2", "book_name": "xxxx", "press": "xxxx", "author": "xxxx", "status": 0, "order_time": "2021-04-25", "borrow_time": "None", "giveback_time": "None", }, { "book_id": "b3", "book_name": "xxxx", "press": "xxxx", "author": "xxxx", "status": 1, "order_time": "2021-04-25", "borrow_time": "2021-04-25", "giveback_time": null }, { "book_id": "b7", "book_name": "xxxx", "press": "xxxx", "author": "xxxx", "status": 2, "order_time": "2021-04-25", "borrow_time": "2021-04-26", "giveback_time": "2021-04-27" } ] } } ```