订单附件分页查询
- 接口:/common/orderAttach/findByPage
- Method:GET
- 接口说明:根据查询条件分页查询订单附件信息
参数:
请求参数
| 字段 |
类型 |
释义 |
是否必填 |
| bizId |
String |
当前次接口同步的唯一标识(UUID) |
Y |
| timestamp |
Long |
当前次接口同步时间对应的时间戳(TIMESTAMP) |
Y |
| source |
String |
渠道名称 |
N |
| order_id |
String |
订单号 |
N |
| order_ids |
List |
订单号列表,多个订单号之间用英文逗号分隔 |
N |
| type |
String |
附件类型 |
N |
| page_num |
Integer |
分页页数 (默认1,最小1) |
N |
| page_size |
Integer |
分页条数 (默认100,仅支持20,50,100) |
N |
示例:
请求示例
curl --location 'https://topenapi.cloudpense.com/common/orderAttach/findByPage?bizId=8289fd7b-f50a-4d2c-bb25-f796aee8d7e1×tamp=1774250905&source=meituan&order_ids=1955485912155099174,1962874302571466830&type=confirm'
返回参数
| 字段名称 |
字段类型 |
字段描述 |
| resCode |
Integer |
状态码 |
| resMsg |
String |
描述 |
| bizId |
String |
业务唯一识别码 |
| data.page_num |
Integer |
分页数 |
| data.total_page |
Integer |
总页数 |
| data.page_size |
Integer |
分页大小 |
| data.total_count |
Integer |
总条数 |
| data.is_first_page |
boolean |
是否第一页 |
| data.is_last_page |
boolean |
是否最后一页 |
| data.page_info |
Array |
数据结果列表 |
| data.page_info.creation_date |
Long |
创建时间 |
| data.page_info.attachment_url |
String |
附件下载地址 |
| data.page_info.file_name |
String |
附件的文件名 |
| data.page_info.source |
String |
渠道名称 |
| data.page_info.order_id |
String |
订单号 |
| data.page_info.type |
String |
附件类型 |
| data.page_info.detail |
Object |
票据格式化后的信息 |
| data.page_info.description |
String |
描述信息 |
返回示例
{
"resCode": 200000,
"resMsg": "success",
"bizId": "8289fd7b-f50a-4d2c-bb25-f796aee8d7e1",
"data": {
"page_size": 100,
"page_num": 1,
"total_count": 1,
"total_page": 1,
"is_first_page": true,
"is_last_page": true,
"page_info": [
{
"creation_date": 1757385919000,
"attachment_url": "2025/09-09/out/e4dd2dd1-5313-4d3b-9b31-2772d1dafe62.jpeg",
"file_name": "111",
"source": "meituan",
"order_id": "1955485912155099174",
"type": "confirm",
"description": "111",
"detail": {
"test": true
}
}
]
}
}