Skip to content
关注公众号,获取新课通知

分销推广员列表


接口URL

http://ceshi13.dishait.cn/admin/agent/:page?type=all

请求方式

GET

Content-Type

application/x-www-form-urlencoded

请求Header参数

参数名示例值参数类型是否必填参数描述
token7a...4bString用户token

请求Query参数

参数名示例值参数类型是否必填参数描述
keyword-String手机号/邮箱/用户...
typeallString时间段:all全部,today今天,yesterday昨天,last7days最近7天
starttime-String开始时间,yyyy-mm-dd
endtime-String结束时间,yyyy-mm-dd
level1Number用户类型:0全部,1一级推广,2二级推广
user_id3Number推广人ID

路径变量

参数名示例值参数描述
page1分页页码

成功响应示例

json5
{
	"msg": "ok",
	"data": {
		"list": [
			{
				"id": 55,
				"username": "...",
				"avatar": "http://...png",
				"nickname": "...",
				"phone": "13888888888",
				"email": "...@qq.com",
				"create_time": "2022-07-24 20:03:15",
				"status": 1,
				"share_num": 0,
				"share_order_num": 0,
				"order_price": "0.00",
				"commission": "0.00",
				"cash_out_price": "0.00",
				"cash_out_time": 0,
				"no_cash_out_price": "0.00",
				"p1": null,
				"p2": null,
				"user_info": {
					"id": 54,
					"user_id": 55,
					"sex": null,
					"birthday": null,
					"name": null,
					"phone": null
				}
			},
			// ...
		],
		"totalCount": 21
	}
}