简要描述:
- IC卡详情
请求域名:
- http://xx.com
请求URL:
GET/plugin.oil-card.frontend.oil-card-manage.record
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
card_num | 是 | string | IC卡号 |
page | 是 | string | 当前页数 |
返回示例:
正确时返回:
{
"result": 1,
"msg": "",
"data": {
"current_page": 1,
"data": [
{
"id": 1,
"uniacid": 6,
"member_id": 2455,
"store_id": 8,
"card_num": "12345678",
"oil_code": "",
"record_id": "1",
"operator": "",
"balance": "10.00",
"amount": "5.00",
"is_invoice": 0,
"note": "",
"recharge_time": "2024-06-26 15:10:40",
"created_at": "2024-06-26 15:10:40",
"has_one_store": {
"id": 8,
"store_name": "轻微的",
"thumb": "images/6/2021/12/mojian.jpg",
"full_address": " ",
"dispatch": null,
"average_score": 5,
"order_total": 14,
"validity_status_name": "入驻中",
"change_thumb": "http://demo.yun.cn/static/upload/images/6/2021/12/mojian.jpg"
}
}
],
"last_page": 1,
"per_page": 15,
"total": 1
}
}
错误时返回:
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
id | int | 充值记录ID |
recharge_time | string | 充值时间 |
amount | float | 充值金额 |
balance | float | 卡余额 |
has_one_store.store_name | string | 门店名称 |
备注:
- 更多返回错误代码请看首页的错误代码描述