线下收书草稿
分页查看当前账号还没提交的线下收书记录(PDA 上扫的书)。
| 请求方式 | GET/POST |
| 接口路径 | /api/offlineReceive/list |
| Content-Type | - |
| 鉴权 | X-Nideshop-Token |
请求参数
| 参数 | 类型 | 必填 | 位置 |
required | String | 否 | URL 参数 |
curl 调用
curl -s 'https://www.8shu8.com/api/offlineReceive/list?required=xxx' \
-H 'X-Nideshop-Token: YOUR_LOGIN_TOKEN'
响应示例
{
"code": 200,
"message": "操作成功",
"success": true,
"data": {
"items": [
{
"id": "...",
"userId": "...",
"subUserId": "...",
"batchId": "...",
"isbn": "...",
"title": "...",
"imageUrl": "...",
"weight": "...",
"unitRecyclePrice": "...",
"quantity": "...",
"verifiedQuantity": "...",
"addTime": "...",
"updateTime": "..."
}
],
"totalQuantity": 1,
"totalAmount": 0.0
}
}
返回字段(data)
| 字段 | 类型 | 说明 |
items | 对象数组 | - |
items[].id | Long | - |
items[].userId | Long | - |
items[].subUserId | Long | 子账号/操作人用户ID |
items[].batchId | Long | 批次ID;NULL 表示当前未提交草稿 |
items[].isbn | String | - |
items[].title | String | - |
items[].imageUrl | String | - |
items[].weight | BigDecimal | - |
items[].unitRecyclePrice | BigDecimal | - |
items[].quantity | Integer | - |
items[].verifiedQuantity | Integer | - |
items[].addTime | LocalDateTime | - |
items[].updateTime | LocalDateTime | - |
totalQuantity | int | 总册数 sum(quantity) |
totalAmount | BigDecimal | 总金额 sum(unitRecyclePrice * quantity) |