简要描述:
请求域名:
- http://xx.com
请求URL:
route=plugin.commission-point.frontend.index.list
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
status | 是 | int | 0预计佣金 1待结算 3已结算 -1无效 -2失效 |
返回示例:
正确时返回:
{
"result": 1,
"msg": "成功",
"data": {
"current_page": 1,
"data": [
{
"order_id": 22337,
"commission": "0.22",
"invalid_commission": "0.06",
"sub_amount": "0.22",
"create_time": 1658992297,
"order_sn": "SN220728151197564C",
"status_name": "已结算",
"create_time_str": "2022-07-28 15:11:37"
}
],
"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
}
}
错误时返回:
{
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
名称 | 类型 | 说明 |
commission | float | 佣金 |
invalid_commission | float | 失效佣金 |
sub_amount | float | 扣除消费积分 |
order_sn | string | 订单号 |
status_name | string | 佣金状态 |
create_time_str | string | 订单创建时间 |