POST lists 批次列表

地址:/api/order-batch/lists · 说明:分页查询当前客户提交的批次。

说明:仅返回当前 vendor-token 对应客户提交的批次,按提交时间倒序。

参数说明

参数 必填 类型 说明
page 选填 int 页码,默认 1
rows 选填 int 每页条数,默认 10

请求示例

GET /api/order-batch/lists?page=1&rows=10
Header: vendor-token: xxxxx

返回示例

{
    "success": true,
    "code": 200,
    "data": {
        "page": 1,
        "rows": 10,
        "count": 25,
        "lists": [
            {
                "id": 88,
                "batch_no": "B20260921153000ab12",
                "total_count": 2,
                "success_count": 1,
                "fail_count": 1,
                "status": 2,
                "status_text": "处理完成"
            }
        ]
    }
}
data 字段 类型 说明
page / rows / count int 当前页码 / 每页条数 / 总条数
lists array 批次列表,按提交时间倒序
lists[].batch_no string 批次编号
lists[].total_count / success_count / fail_count int 总条数 / 处理中或成功条数 / 未通过条数
lists[].status int 批次状态:0待处理 1处理中 2处理完成 3处理失败
lists[].status_text string 批次状态文本(跟随接口语言)