简要描述:
- 首页
请求域名:
- http://xx.com
请求URL:
plugin.agency-reward.frontend.settlement.direct
返回示例:
正确时返回:
{
"result": 1,
"msg": "ok",
"data": {
"current_page": 1,
"data": [
{
"id": 22,
"order_id": 435,
"reward_price": "0.05",
"created_at": "2023-08-30 14:11:36",
"status_name": "未结算",
"order": {
"id": 435,
"order_sn": "SN23020710241D0F52",
"price": "1.00",
"status": -1,
"status_name": "已关闭",
"pay_type_name": "",
"process": [],
"has_one_pay_type": null,
"has_one_behalf_pay": null
}
}
],
"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": 3,
"total": 3
}
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
data.data.order_id | string | 订单ID |
data.data.reward_price | string | 结算奖励金额 |
data.data.created_at | string | 创建时间 |
data.data.order.order_sn | string | 订单编号 |
备注:
- 更多返回错误代码请看首页的错误代码描述