返现明细 - 列表
创建于 2021-10-15 / 最近更新于 2021-10-15 /
993
字体:
[默认]
[大]
[更大]
简要描述
返现明细列表
接口版本
版本号 | 制定人 | 制定日期 | 修订日期 |
---|---|---|---|
1.0.0 | Devil | 2020-09-29 |
请求URL
plugins/index&pluginsname=excellentbuyreturntocash&pluginscontrol=profit&pluginsaction=index
请求方式
POST
公共参数
参数名 | 是否必须 | 类型 | 默认值 | 描述 |
---|---|---|---|---|
application | 是 | string | web | 请求应用、参考公共中详解 |
application_client_type | 是 | string | pc | 请求客户端、参考公共中详解 |
token | 否 | string | token |
请求参数
{
"page": 1,
"status": "-1",
"is_more": 1
}
参数名 | 是否必须 | 类型 | 默认值 | 描述 |
---|---|---|---|---|
page | 是 | int | 分页值 | |
status | 是 | int | 状态值 | |
is_more | 是 | int | 是否更多参数(0否、1是) |
返回示例
正确时返回
{
"msg": "success",
"code": 0,
"data": {
"total": 1,
"page_total": 1,
"data": [
{
"id": "1",
"user_id": "1",
"order_id": "216",
"total_price": "1499.45",
"valid_price": "1499.45",
"profit_price": "149.95",
"rate": "10",
"category_ids": "[\"1\"]",
"status": "0",
"log": [
{
"msg": "qqqqqq用户下单, 订单金额1499.45元, 增加金额0元, 优惠金额0元, 有效金额1499.45元, 预计返现149.95元",
"time": "2021-10-15 10:32:28"
}
],
"success_time": "",
"add_time": "2021-10-15 10:32:28",
"upd_time": "",
"order_no": "20211015103228688828",
"order_status": "1",
"order_pay_status": "0",
"order_client_type": "pc",
"refund_price": "0.00",
"order_collect_time": "0",
"user": [],
"status_name": "待生效",
"order_status_name": "待付款",
"order_pay_status_name": "待支付",
"order_client_type_name": "PC网站"
}
]
}
}
错误时返回
{
"msg": "error",
"code": -1,
"data": []
}
返回参数说明 -> data
参数名 | 是否必须 | 类型 | 描述 |
---|---|---|---|
page_total | 是 | int | 分页总数 |
total | 是 | int | 数据总数 |
data | 是 | array | 数据列表 |
备注
更多返回错误代码请看首页的错误代码描述
2 人点赞过