[TOC]
简要描述
请求URL
http://xgkj.hljnyxx.com/dongnongBackend/index.php//Home/Login/register
请求方式
参数
参数名 |
必选 |
说明 |
account |
是 |
用户名 |
password |
是 |
密码 |
tel |
是 |
电话号 |
参数示例
{
"account":"20230106",
"password" :"123456",
"tel":"13265441120"
}
返回示例
{
"code": 0,
"msg": "注册成功",
"data": {
"userId": "12",
"userName": "谭老师",
"typeId": 0
}
}
返回参数说明
参数名 |
说明 |
userId |
登录用户ID |
userName |
登录用户名称 |
typeId |
登录用户类型;0-学生,1-老师 |
备注