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

增加用户


接口URL

http://ceshi13.dishait.cn/admin/user

请求方式

POST

Content-Type

application/x-www-form-urlencoded

请求Header参数

参数名示例值参数类型是否必填参数描述
token2f...5eText用户token

请求Body参数

参数名示例值参数类型是否必填参数描述
usernameuser1String用户名
passwordzcmcssNumber密码
status1Number状态:0禁用1启用
nickname-String...
phone-String手机
email-String邮箱
avatarhttp://...jpgString头像
user_level_id6Number会员等级

成功响应示例

json5
{
	"msg": "ok",
	"data": {
		"username": "user1",
		"password": "$2y...Ei",
		"status": "1",
		"nickname": "",
		"phone": "",
		"email": "",
		"avatar": "http://...png",
		"user_level_id": "6",
		"create_time": "2022-07-10 17:23:48",
		"update_time": "2022-07-10 17:23:48",
		"id": "44"
	}
}