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

查看当前网校信息


接口URL

http://demonuxtapi.dishait.cn/admin/s/school/read?id=11

请求方式

GET

Content-Type

application/x-www-form-urlencoded

请求Header参数

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

请求Query参数

参数名示例值参数类型是否必填参数描述
id11Number网校id

成功响应示例

json5
{
	"msg": "ok",
	"data": {
		"id": 11,
		"name": "第一个网校123",
		"level_id": 0,
		"level_last_time": null,
		"user_id": 1,
		"balance": "1.00",
		"w_balance": "50.00",
		"t_balance": "100.00",
		"appid": "bd9d01ecc75dbbaaefce",
		"status": 1,
		"created_time": "2021-02-27T16:18:58.000Z",
		"updated_time": "2021-03-12T13:11:46.000Z",
		"userId": 1,
		"user": {
			"email": "456***@qq.com",
			"phone": "156****6894",
			"id": 1,
			"username": "ceshi1",
			"nickname": ""
		}
	},
	"code": 20000
}

错误响应示例

json5
{
	"msg": "fail",
	"data": "Token 令牌不合法!"
}