简要描述:

-手续费分红列表

请求域名:

  • http://xx.com

请求URL:

plugin.task-package.frontend.record.procedures-fee

请求参数说明:

参数名 类型 是否必需 说明
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",
					"people_num": 3,
					"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",
					"people_num": 3,
					"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
	}
}

错误时返回:(#如返回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 累计分红金额

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

参数名 类型 说明
member_id int 会员ID
level_id int 分红等级ID
total float 手续费总数
bonus_rate float 分红比例
people_num int 等级人数
amount float 分红金额