简要描述:
- 操作端防伪商品批次列表
请求URL:
POST/wapapi/addons/anticounterfeiting/operator/getAnticounterfeitingBatchList
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
page_index | 否 | int | 页数 |
page_size | 否 | int | 每页显示数量 |
anti_goods_id | 是 | int | 防伪商品id |
返回示例:
正确时返回:
{
"code": 1,
"message": "获取成功",
"data": {
"data": [{
"batchid": 10,
"goods_id": 702,
"goods_batch": "223",
"status": 0,
"region_status": 0,
"tracing": null,
"chain_status": 0,
"anti_status": 1,
"create_time": "2019-06-26 14:11:41",
"province_id": null,
"city_id": null,
"district_id": null,
"stock": 342
}],
"total_count": 1,
"page_count": 1,
"goods": {
"goods_id": 702,
"goods_name": "普通商品2",
"shop_id": 0,
"price": "200.00",
"goods_img": "http:\/\/vslai-com-cn.oss-cn-hangzhou.aliyuncs.com\/upload\/26\/common\/50f467fc1fa809d327ff2c6afe074abe3.png"
}
}
}
参数名 | 类型 | 说明 |
---|---|---|
create_time | int | 创建时间 |
batchid | string | 商品批次id |
goods_batch | string | 商品批次 |
chain_status | int | 是否上链 1是 2否 |
tracing | int | 商品溯源信息 1有 |
goods_id | int | 关联商品id |
goods_img | string | 商品图片 |
goods_name | string | 商品名称 |
price | numeric | 商品价格 |