简要描述:

-下级团队列表

请求域名:

  • http://xx.com

请求URL:

plugin.task-package.frontend.index.sub-team

请求参数说明:

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

返回示例:

正确时返回:

{
	result: 1,
	msg: "ok",
	data: {
		"sub_team_count":2,
		"list":[
			"current_page": 1,
			"data": [
				{
					"uid": 2,
					"nickname":"测试",
					"avatar":"https://ps.com/a.jpg",
					"mobile":"13226666666",
				},
				{
					"uid": 3,
					"nickname":"测试1",
					"avatar":"https://ps.com/a.jpg",
					"mobile":"13226666666",
				},
			],
			"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
		],
	}
}

错误时返回:(#如返回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 下级会员列表
sub_team_count int 下级团队人数

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

参数名 类型 说明
uid int 会员ID
nickname string 会员昵称
avatar string 头像
mobile string 会员手机号