🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
**基本信息** 接口地址:`http[s]://api.12xue.com/student/getRecommend` 请求方式:`GET` 请求类型:`application/x-www-form-urlencoded` 响应类型:`json` **请求头** |参数名|必选|描述|默认值| |---|---|---|---| |Token|否|用户唯一token|-| |Source|是|客户端来源标识|-| |Version|是|客户端当前版本号|1.0.0| |Identity|否|用户角色|-| **参数** |参数名|必选|类型|描述|默认值| |---|---|---|---|---| |classid|是|string|班级id|-| |realname|否|string|真实姓名|-| |username|否|string|账号|-| |num|否|string|每页展示个数|10| |p|否|string|页数|1| **返回示例** - success ```json { "ret": 0, "msg": "ok", "data": { "count": "1", "pages": "1", "totalPages": 1, "totalRows": "1", "nowPage": 1, "data": [ { "uid": "1033145308280423415", "username": "caijiahui1", "password": "96e79218965eb72c92a549dd5a330112", "realname": "蔡佳慧", "email": null, "telephone": null, "sex": "0", "identitytype": "3", "is_audit": "1", "is_active": "1", "is_init": "1", "origin": "0", "certificate": "0", "create_time": "1458713683", "update_time": "1458713683", "status": "0" } ] } } ``` - error ```json { "ret": -1, "msg": "参数错误或者未定义" } ``` **返回参数说明** |参数名|类型|说明| |---|---|---| |ret |int |状态码 0:成功| |msg |string |状态消息 ok:成功| --: 该接口最后修订时间:2020-05-21 17:22:51 * * * * *