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

员工列表


接口URL

http://demonuxtapi.dishait.cn/admin/s/schoolstaff?page=1

请求方式

GET

Content-Type

application/x-www-form-urlencoded

请求Header参数

参数名示例值参数类型是否必填参数描述
tokeneyj...NjString用户token
schoolid11Integer网校id

请求Query参数

参数名示例值参数类型是否必填参数描述
page1Integer页码

成功响应示例

json5
{
	"msg": "ok",
	"data": {
		"total": 3,
		"items": [
			{
				"id": 8,
				"school_id": 11,
				"user_id": 5,
				"iscreator": 0,
				"role_ids": "2",
				"created_time": "2021-03-21T09:31:58.000Z",
				"updated_time": "2021-03-21T09:33:26.000Z",
				"userId": 5,
				"user": {
					"id": 5,
					"username": "ceshi4",
					"nickname": "",
					"avatar": ""
				},
				"roles": [
					{
						"id": 2,
						"name": "超级管理员"
					},
					// ...
				]
			},
			// ...
		]
	},
	"code": 20000
}