简要描述:
剩余未返还佣金
请求域名:
- http://xx.com
请求路由:
route=plugin.phone-bill-recharge.frontend.settlement.index
请求参数说明:
参数名 | 类型 | 是否必填 | 说明 |
---|---|---|---|
status | 类型 | 否 | status = settled(结算) 或者 unsettled(未结算) |
返回示例:
正确时返回:
{
"result": 1,
"msg": "ok",
"data": {
"plugin_name": "经销商话费分红",
"member": {
"uid": 3,
"nickname": "12345678001",
"avatar": "/static/images/site_logo.png",
"avatar_image": "/static/images/site_logo.png",
"username": "12345678001"
},
"settled": "30.00",
"unsettled": "0",
"settlements": {
"current_page": 1,
"data": [
{
"id": 16,
"created_at": "2023-07-04 17:20:13",
"commission_amount": "30.00",
"status": 1,
"type": 0,
"status_name": "已结算",
"type_name": "经销商奖励"
}
],
"first_page_url": "http://localhost/addons/yun_shop/api.php?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "http://localhost/addons/yun_shop/api.php?page=1",
"next_page_url": null,
"path": "http://localhost/addons/yun_shop/api.php",
"per_page": 15,
"prev_page_url": null,
"to": 1,
"total": 1
}
}
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
data.settled | string | 已结算 |
data.unsettled | string | 未结算 |
data.settlements.commission_amount | string | 佣金 |
data.settlements.status | string | 结算状态 |
data.settlements.status_name | string | 结算状态名称 |
data.settlements.type_name | string | 类型名称 |