🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
### 使用描述 H5用户电影订单列表 ### [](https://duobaoyu.com.cn/documentcenter?onlyFlag=7c42929813aefd0108e87492b0749775#%E6%96%B9%E6%B3%95%E5%90%8D)方法名 dby.living.movie.user.order.page ### [](https://duobaoyu.com.cn/documentcenter?onlyFlag=7c42929813aefd0108e87492b0749775#%E7%BD%91%E5%85%B3%E5%9C%B0%E5%9D%80)网关地址 | 环境 | 地址 | 请求方式 | | --- | --- | --- | | 生产环境 | `https://openapi.duobaoyu.com.cn/open/api` | post+json | | 测试环境 | `https://openapi.duobaoyu88.cn/open/api` | post+json | ### [](https://duobaoyu.com.cn/documentcenter?onlyFlag=7c42929813aefd0108e87492b0749775#%E5%85%AC%E5%85%B1query%E5%8F%82%E6%95%B0)公共Query参数 * * * | 名称 | 类型 | 必填 | 描述 | | --- | --- | --- | --- | | method | String | 是 | 方法名称 | | sign | String | 是 | [签名](签名规则.md) | | timestamp | String | 是 | 时间戳,格式为13位,例如:1670223623000 | | version | String | 是 | 版本号,现固定为v1 | | appKey | String | 是 | 申请的应用appKey | ### [](https://duobaoyu.com.cn/documentcenter?onlyFlag=7c42929813aefd0108e87492b0749775#%E4%B8%9A%E5%8A%A1body%E5%8F%82%E6%95%B0applicationjson)业务Body参数(application/json) * * * | 名称 | 类型 | 必填 | 示例值 | 描述 | | --- | --- | --- | --- | --- | | userId | java.lang.String | 是 | 1 | 三方用户ID | | startTime | java.lang.String | 是 | 2023-05-24 00:00:00 | 查询开始时间 | | endTime | java.lang.String | 是 | 2023-05-31 23:59:59 | 查询结束时间 | | current | java.lang.Integer | 否 | 1 | 当前页数 | | size | java.lang.Integer | 否 | 默认10 | 一页的数据条数 | ### [](https://duobaoyu.com.cn/documentcenter?onlyFlag=7c42929813aefd0108e87492b0749775#%E5%93%8D%E5%BA%94%E5%8F%82%E6%95%B0)响应参数 * * * | 参数名 | 类型 | 示范值 | 描述 | | --- | --- | --- | --- | | code | java.lang.String | 0 | 业务编码处理结果编码 | | msg | java.lang.String | 请求成功 | 业务处理结果结果说明 | | data | java.lang.Object | | 响应结果 | |   ├─records | java.util.List | | 分页结果 | |     ├─dbyOrderId | java.lang.String | 1651627865210830880 | 小象订单ID | |     ├─cinemaName | java.lang.String | 武昌横店电影城 | 影院名称 | |     ├─hallName | java.lang.String | 9号厅 前台消费赠衍生品 | 影厅名称 | |     ├─filmName | java.lang.String | 人生路不熟 | 电影名称 | |     ├─filmLogo | java.lang.String | [https://xxx.6000000006617-0-alipicbeacon.jpg](https://xxx.6000000006617-0-alipicbeacon.jpg/) | 电影logo | |     ├─showTime | java.lang.String | 2022-05-10 10:10:00 | 放映时间 | |     ├─createTime | java.lang.String | 2022-05-08 10:10:00 | 下单时间 | |     ├─seatNames | java.lang.String | 1排15座,1排14座 | 选座的座位信息 英文逗号隔开 | |     ├─seatCount | java.lang.Integer | 2 | 座位数 | |     ├─orderStatus | java.lang.Integer | 2 | 订单状态(1:待付款、2:受理中、4:待出票、8:已出票、16:已结算、-1:已关闭) | |     ├─orderStatusDesc | java.lang.String | 受理中 | 订单状态名称 | |     ├─payPrice | java.lang.Long | 5600 | 订单支付金额(分) | |   ├─size | java.lang.Integer | 10 | 一页的数据条数 | |   ├─current | java.lang.Integer | 1 | 页数 | |   ├─total | java.lang.Integer | 100 | 总条数 | | msgId | java.lang.String | efd7f07011124adf | 消息id | ### [](https://duobaoyu.com.cn/documentcenter?onlyFlag=7c42929813aefd0108e87492b0749775#%E8%AF%B7%E6%B1%82%E7%A4%BA%E4%BE%8B)请求示例 curljavaphp ~~~json curl -XPOST -H "Content-type: application/json" -d '{ "userId": "1", "startTime": "2023-05-24 00:00:00", "endTime": "2023-05-31 23:59:59", "current": 1, "size": 10 }' 'http://xxxxx/open/api?method=dby.living.movie.user.order.page&version=v1&appKey=your appKey&timestamp=1670057525000&sign=123' ~~~ ### [](https://duobaoyu.com.cn/documentcenter?onlyFlag=7c42929813aefd0108e87492b0749775#%E5%93%8D%E5%BA%94%E7%A4%BA%E4%BE%8B)响应示例 ~~~json { "code": "0", "msg": "请求成功", "data": { "records": [{ "dbyOrderId": "1411661192265777348610", "cinemaName": "中影盛世华纳国际影城(免费停车)", "hallName": "9号厅 前台消费赠衍生品", "filmName": "人生路不熟", "filmLogo": "https://gw.alicdn.com/tfscom/i2/O1CN01dtI9u422SYQome1Sv_!!6000000007119-0-alipicbeacon.jpg", "showTime": "2023-05-27 11:05:00", "createTime": "2023-05-24 10:07:54", "seatNames": "1排1座,1排2座", "newSeats": null, "orderStatus": 2, "orderStatusDesc": "受理中", "payPrice": "0", "seatCount": 2 }, { "dbyOrderId": "1411661187695985373186", "cinemaName": "中影盛世华纳国际影城(免费停车)", "hallName": "9号厅 前台消费赠衍生品", "filmName": "人生路不熟", "filmLogo": "https://gw.alicdn.com/tfscom/i2/O1CN01dtI9u422SYQome1Sv_!!6000000007119-0-alipicbeacon.jpg", "showTime": "2023-05-27 11:05:00", "createTime": "2023-05-24 09:49:45", "seatNames": "1排1座,1排2座", "newSeats": null, "orderStatus": 2, "orderStatusDesc": "受理中", "payPrice": "0", "seatCount": 2 }, { "dbyOrderId": "1411661184673537654786", "cinemaName": "中影盛世华纳国际影城(免费停车)", "hallName": "9号厅 前台消费赠衍生品", "filmName": "人生路不熟", "filmLogo": "https://gw.alicdn.com/tfscom/i2/O1CN01dtI9u422SYQome1Sv_!!6000000007119-0-alipicbeacon.jpg", "showTime": "2023-05-27 11:05:00", "createTime": "2023-05-24 09:37:45", "seatNames": "1排1座,1排2座", "newSeats": null, "orderStatus": 2, "orderStatusDesc": "受理中", "payPrice": "0", "seatCount": 2 } ], "total": 0, "size": 10, "current": 1 }, "msgId": null, "success": true } ~~~ ### [](https://duobaoyu.com.cn/documentcenter?onlyFlag=7c42929813aefd0108e87492b0749775#%E5%BC%82%E5%B8%B8%E7%A4%BA%E4%BE%8B)异常示例 ~~~json { "code": "1", "msg": "请求失败", "data": null, "msgId": "efd7f07011124adf" } ~~~