订单分包CRUD
地址: http://test.birdsystem.com/client/Consignment-Parcel-Piece
列名 | 注释 | 是否必填 | 类型 |
---|---|---|---|
id | 系统ID | INT(10) | |
serial | 包裹序列号 | 必填 | INT(4) |
consignment_id | 订单ID | 必填 | BINGINT(16) |
reference | 产品类型 | 可选 | varchar(50) |
delivery_reference | 跟踪号 | 可选 | varchar(50) |
weight | 重量(g) | 必填 | decimal(10,2) |
length | 长度(mm) | 必填 | decimal(10,2) |
width | 宽度(mm) | 必填 | decimal(10,2) |
depth | 高度(mm) | 必填 | decimal(10,2) |
description | 描述 | 可选 | varchar(50) |
查询接口:
示例如下:
http://test.birdsystem.com/client/Consignment-Parcel-Piece?consignment_id=1901110360000310
返回:
{ "total": 2, "data": [ { "id": 13, "consignment_id": 1901110360000310, "serial": "0", "reference": null, "delivery_reference": null, "weight": "500.00", "length": "25.00", "width": "20.00", "depth": "15.00", "description": "table", "create_time": "2019-01-12 02:14:59", "primary_keys": [ "id" ] }, { "id": 14, "consignment_id": 1901110360000310, "serial": "1", "reference": null, "delivery_reference": null, "weight": "400.00", "length": "22.00", "width": "18.00", "depth": "13.00", "description": "chair", "create_time": "2019-01-12 02:14:59", "primary_keys": [ "id" ] } ], "success": true, "moduleName": "client" }