简要描述:
- 分红列表
请求URL:
GET/plugin.video-share.frontend.bonus.getList
返回示例:
正确时返回:
{
result: 1,
msg: "成功",
data: {
list: {
total: 1,
per_page: 15,
current_page: 1,
last_page: 1,
next_page_url: null,
prev_page_url: null,
from: 1,
to: 1,
data: [
{
create_month: "2019-9",
status_name: "待结算",
bonus: [
{
id: 1,
uniacid: 3,
uid: 68,
vid: 1,
order_id: 2358,
ratio: "90.00",
amount: "100.00",
status: 0,
created_at: "2018-07-07 20:50:42",
updated_at: "2018-07-07 20:50:42",
deleted_at: null,
status_name: "待结算",
member: {
avatar: "http://thirdwx.qlogo.cn/mmopen/IJdPq631CVHJOk0tmPc5An9tv4bz8Z3oYiaaNnF9o4QbiarQYabRWGoqWWak6WXvNowHSibXXib7HgdWzvuEQS3Hf2QzbEYVOZgF/132",
uid: 68,
nickname: "大大大话的",
avatar_image: "https://thirdwx.qlogo.cn/mmopen/IJdPq631CVHJOk0tmPc5An9tv4bz8Z3oYiaaNnF9o4QbiarQYabRWGoqWWak6WXvNowHSibXXib7HgdWzvuEQS3Hf2QzbEYVOZgF/132",
username: "大大大话的"
},
order: {
id: 2358,
price: "31.95",
order_sn: "SN20180707205042VI",
status_name: "待付款",
pay_type_name: "未支付",
process: [ ]
},
video: {
id: 1,
title: "测试"
}
},
{
id: 1,
uniacid: 3,
uid: 68,
vid: 1,
order_id: 2358,
ratio: "90.00",
amount: "100.00",
status: 0,
created_at: "2018-07-07 20:50:42",
updated_at: "2018-07-07 20:50:42",
deleted_at: null,
status_name: "待结算",
member: {
avatar: "http://thirdwx.qlogo.cn/mmopen/IJdPq631CVHJOk0tmPc5An9tv4bz8Z3oYiaaNnF9o4QbiarQYabRWGoqWWak6WXvNowHSibXXib7HgdWzvuEQS3Hf2QzbEYVOZgF/132",
uid: 68,
nickname: "大大大话的",
avatar_image: "https://thirdwx.qlogo.cn/mmopen/IJdPq631CVHJOk0tmPc5An9tv4bz8Z3oYiaaNnF9o4QbiarQYabRWGoqWWak6WXvNowHSibXXib7HgdWzvuEQS3Hf2QzbEYVOZgF/132",
username: "大大大话的"
},
order: {
id: 2358,
price: "31.95",
order_sn: "SN20180707205042VI",
status_name: "待付款",
pay_type_name: "未支付",
process: [ ]
},
video: {
id: 1,
title: "测试"
}
}
]
}
]
}
}
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
create_month | str | 月份 |
bonus | arr | 月份分组下的分红记录 |
bonus->id | int | 分红ID |
bonus->ratio | float | 分红比例 |
bonus->amount | float | 分红金额 |
bonus->status_name | str | 状态 |
bonus->member->nickname | str | 会员昵称 |
bonus->member->avatar | str | 会员头像 |
bonus->order->order_sn | str | 订单编号 |
bonus->order->price | str | 订单金额 |
bonus->video->title | str | 发现标题 |
备注:
- 更多返回错误代码请看首页的错误代码描述