简要描述:
- 原型:提成页面(店长) 有分页
请求URL:
GET/plugin.store-cashier.frontend.store.balance.award.store
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
status | true | int | 1已结算,2已分账,其他值为全部 |
返回示例:
正确时返回:
{
"result": 1,
"msg": "ok",
"data": {
"statistic": {
"today": 0,
"yesterday": 0,
"week": 0,
"month": "255.00"
},
"list": {
"current_page": 1,
"data": [
{
"sn": "SH20210816174207KB",
"amount": "90.00",
"status": 1,
"status_name": "已结算",
"store_type_name": "店长"
}
],
"first_page_url": "http://mdzz.com/addons/yun_shop/api.php?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "http://mdzz.com/addons/yun_shop/api.php?page=1",
"next_page_url": null,
"path": "http://mdzz.com/addons/yun_shop/api.php",
"per_page": 15,
"prev_page_url": null,
"to": 1,
"total": 1
}
}
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
statistic | arr | 数据统计数组 |
statistic->today | float | 今日 |
statistic->yesterday | float | 昨日 |
statistic->week | float | 本周 |
statistic->month | float | 本月 |
list | arr | 提成数组 |
list->data->sn | str | 订单号 |
list->data->amount | float | 提成金额 |
list->data->status_name | str | 状态 |