简要描述:
- 安装师傅收益列表
请求域名:
- http://xx.com
请求URL:
简要描述:
- 安装师傅收益列表
请求域名:
- http://xx.com
请求URL:
plugin.live-install.frontend.worker.workerAmountList
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
page | 是 | int | 页数,初始值为1 |
amount_type | 是 | int | 类型。expect:预期佣金,unsettle:未结算佣金,settle:已结算佣金,withdraw:已提现佣金,unwithdraw:未提现佣金,disabled:已失效佣金 |
返回示例:
正确时返回:
{
"result": 1,
"msg": "获取成功",
"data": {
"total": 2,
"per_page": 15,
"current_page": 1,
"last_page": 1,
"next_page_url": null,
"prev_page_url": null,
"from": 1,
"to": 2,
"data": [
{
"id": 1,
"amount": "500.00",
"order_sn": "555",
"created_at": "2021-04-02 15:09:07",
"price": "120.00"
},
{
"id": 2,
"amount": "700.00",
"order_sn": "666",
"created_at": "2021-04-02 15:09:07",
"price": "120.00"
}
]
}
}
错误时返回:
{
"result": 0,
"msg": "具体错误原因",
"data": {}
}
返回参数说明:
参数名 | 类型 | 说明 | |
---|---|---|---|
data[ ]->id | int | 记录id | |
data[ ]->amount | float | 佣金金额 | |
data[ ]->order_sn | string | 订单号 | |
data[ ]->created_at | int | 创建时间 | |
data[ ]->price | float | 订单金额 |