简要描述:

-平台流水分红列表

请求域名:

  • http://xx.com

请求URL:

plugin.task-package.frontend.record.platform-flow

请求参数说明:

参数名 类型 是否必需 说明
page int 第x页

返回示例:

正确时返回:

{
	result: 1,
	msg: "ok",
	data: {
		"list":[
			"current_page": 1,
			"data": [
				{
					"id": 2,
					"member_id": 1,
					"level_id": 1,
					"total": 20,
					"bonus_rate": "10",
					"level_love_total": 300000,
					"self_love": 3000,
					"amount": 0.20,
					"created_at": "2022-04-26 16:14:22",
					"updated_at": "2022-04-26 16:14:22",
				},
				{
					"id": 2,
					"member_id": 1,
					"level_id": 1,
					"total": 20,
					"bonus_rate": "10",
					"level_love_total": 300000,
					"self_love": 3000,
					"amount": 0.20,
					"created_at": "2022-04-26 16:14:22",
					"updated_at": "2022-04-26 16:14:22",
				},
			],
			"first_page_url": "https://dev8.yunzmall.com/business/1/plugin/project-manager/project/index?page=1",
			"from": 1,
			"last_page": 1,
			"last_page_url": "https://dev8.yunzmall.com/business/1/plugin/project-manager/project/index?page=1",
			"next_page_url": null,
			"path": "https://dev8.yunzmall.com/business/1/plugin/project-manager/project/index",
			"per_page": 20,
			"prev_page_url": null,
			"to": 2,
			"total": 2
		],
		"total":200,
		"show":true,
	}
}

错误时返回:(#如返回result=0,并且data中带task_package_invite_code=1,跳转到填写邀请码页面;data中带task_package_real_name_auth=1,跳转到填写实名认证页面)

{
    "result": 0,
    "msg": "请先填写邀请码",
    "data": {
		"task_package_invite_code":1
	}
}
{
    "result": 0,
    "msg": "请先实名认证",
    "data": {
		"task_package_real_name_auth":1
	}
}
{
    "result": 0,
    "msg": "请登录",
    "data": []
}

返回参数说明:

参数名 类型 说明
list array 分红记录列表
total float 累计分红金额
show bool 平台流水分佣金额是否显示,true显示

list返回参数说明:(有分页)

参数名 类型 说明
member_id int 会员ID
level_id int 分红等级ID
total float 平台流水总额
bonus_rate float 分红比例
level_love_total float 等级可用爱心值
self_love float 本人持有爱心值
amount float 分红金额