文档
测试

我的借用

POST
http://leave2.com/warehouse/api/Borrow/getMyBorrowItems

请求头

参数名
类型
描述
必填
Authorization
TFZGUm1jb0dlTkh4blIySnA5VzAwTENZME5uLVU5S0pqUm1PVzl6VTFLQ2M4T2tSbTg2U1VSbGFsTEdscFptVmtjSXh0OFhWb1FHVmo9elUyS3hkMlpIaWs9YmVwaVdGajluUi1iR3Q3ZkJ3dg%3D%3D
必填

响应参数

参数名
类型
描述
必填
item_id
物品id
必填
name
物品名称
必填
description
物品描述
必填
unit
单位
必填
image
物品图片
必填
amount
借用剩余数量
必填

说明 / 示例

{ "status": 0, "msg": "操作成功", "datas": [ { "item_id": "3408", "name": "猪肉", "description": "", "unit": "斤", "image": "/upload/file/202307/80417b0c6237db591ca03cfe6daa8a97.jpeg", "amount": "1.0000" }, { "item_id": "3409", "name": "鱼肉", "description": "", "unit": "斤", "image": "/upload/file/202307/4ed9253d04c0263ba0782e59923eae18.jpg", "amount": "1.0000" }, { "item_id": "3410", "name": "鸡腿", "description": "", "unit": "斤", "image": "/upload/file/202307/21d355b4c8f36e1d86bdbb86e43e163d.jpg", "amount": "1.0000" } ] }