简要描述:
- 发票列表
请求域名:
- http://xx.com
请求URL:
GET/plugin.balance-invoice.frontend.balance-invoice.list
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|
返回示例:
正确时返回:
{
"result": 1,
"msg": "list",
"data": {
"current_page": 1,
"data": [
{
"id": 5,
"uniacid": 6,
"member_id": 2455,
"old_money": "6676.56",
"money": "55.00",
"new_money": "6731.56",
"type": 16,
"created_at": "2018-06-28 10:20:29",
"updated_at": "2018-06-28 10:20:29",
"ordersn": "RV20180628102029628548",
"status": 1,
"remark": null,
"actual_pay": null,
"is_invoice": 0,
"invoice_name": "待开",
"button_models": [
{
"name": "申请开票",
"api": "plugin.balance-invoice.frontend.balance-invoice.apply",
"value": "open"
}
],
"invoice_content": null
}
],
"last_page": 1,
"per_page": 15,
"total": 1
}
}
错误时返回:
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
id | int | 充值记录ID |
money | string | 充值余额 |
actual_pay | string | 实付金额 |
is_invoice | int | 是否开票:0否1申请2已开 |
invoice_name | string | 开票状态 |
button_models | array | 操作按钮 |
ordersn | string | 充值单号 |
invoice_content | obj | 发票信息 |
按钮名称 | 按钮值 | 路由 |
---|---|---|
申请开票 | open | plugin.balance-invoice.frontend.balance-invoice.apply |
发票详情 | detail | plugin.balance-invoice.frontend.balance-invoice.detail |
备注:
- 更多返回错误代码请看首页的错误代码描述