简要描述:

  • 让利涨粉-获取员工列表

请求域名:

  • http://xx.com

请求URL:

xx.com/business/{公众号id}/plugin/DiscountHarvestFans/getStaffList

请求类型

POST

参数:

参数名 是否必须 类型 说明
search.staff_info string 员工姓名或手机号

返回示例:

正确时返回:

{
	"result": 1,
	"msg": "成功",
	"data": {
		"current_page": 1,
		"data": [
			{
				"id": 66,
				"name": "3089",
				"mobile": "13827653089"
			},
			{
				"id": 67,
				"name": "孙新建",
				"mobile": "15000245941"
			},
			{
				"id": 68,
				"name": "韦平",
				"mobile": "15216771448"
			},
			{
				"id": 69,
				"name": "莫秋宁",
				"mobile": "17675761991"
			},
		],
		"first_page_url": "http://dev8.yunzmall.com/business/1/plugin/SpeechcraftLibrary/getStaffList?page=1",
		"from": 1,
		"last_page": 3,
		"last_page_url": "http://dev8.yunzmall.com/business/1/plugin/SpeechcraftLibrary/getStaffList?page=3",
		"next_page_url": "http://dev8.yunzmall.com/business/1/plugin/SpeechcraftLibrary/getStaffList?page=2",
		"path": "http://dev8.yunzmall.com/business/1/plugin/SpeechcraftLibrary/getStaffList",
		"per_page": 15,
		"prev_page_url": null,
		"to": 15,
		"total": 41
	}
}

错误时返回


返回参数说明:

参数名 类型 说明
id int 员工id
name string 员工姓名
mobile string 员工手机号