简要描述:
- 停车缴费-兑换记录
请求域名:
- http://xx.com
请求URL:
route=plugin.parking-pay.frontend.coupon.memberCouponList
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
page | 否 | int | 页数,起始值为1 |
返回示例:
正确时返回:
{
"result": 1,
"msg": "成功",
"data": {
"current_page": 1,
"data": [
{
"id": 1,
"coupon_id": 1,
"car_number": "粤AGU603",
"created_at": "2022-03-02 16:24:59",
"has_one_coupon": {
"id": 1,
"name": "测试券",
"coupon_type": 1,
"coupon_value": "5",
"start_time": 1646209499,
"end_time": 1869812699,
"rest_num": 99,
"point": "233.00",
"coupon_type_name": "小时优惠券",
"coupon_value_name": "小时优惠券(5小时)",
"start_date": "2022-03-02 16:24:59",
"end_date": "2029-04-02 16:24:59"
}
}
],
"first_page_url": "http://zouye.yunzmall.com/addons/yun_shop/api.php?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "http://zouye.yunzmall.com/addons/yun_shop/api.php?page=1",
"next_page_url": null,
"path": "http://zouye.yunzmall.com/addons/yun_shop/api.php",
"per_page": 15,
"prev_page_url": null,
"to": 1,
"total": 1
}
}
错误时返回:
{
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
名称 | 类型 | 说明 |
data.list.data.car_number | string | 车牌号 |
data.list.data.created_at | string | 兑换时间 |
data.list.data.has_one_coupon | object | 优惠券信息 |