简要描述:

  • 获取员工列表

请求域名:

  • https://dev8.yunzmall.com/business/1/

请求URL:

GET/plugin/OutboundSystem/staffAgent/agentList

参数:

参数名 是否必须 类型 说明

返回示例:

正确时返回:

{
	"result": 1,
	"msg": "",
	"data": {
		"list": [
			{
				"id": 89,
				"name": "蓝思婷",
				"mobile": null,
				"avatar": null,
				"staff_agent": {
					"staff_id":89,
					"agent_no":"10086",
				}
			},
			{
				"id": 66,
				"name": "3089",
				"mobile": null,
				"avatar": null,
				"staff_agent": null
			}
		]
	}
}

错误时返回:

{
  "result": 0,
  "msg": "",
  "data": []
}

list返回参数说明:成员列表信息

参数名 类型 说明
id int 成员id
name string 成员名称
mobile string 成员手机号
avatar string 成员头像
staff_agent obj 成员工号信息

staff_agent返回参数说明:

参数名 类型 说明
agent_no string 员工工号

备注:

  • 更多返回错误代码请看首页的错误代码描述