多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
**基本信息** 接口地址:`http[s]://api.12xue.com/invitecode/info` 请求方式:`GET` 请求类型:`application/x-www-form-urlencoded` 响应类型:`json` **请求头** |参数名|必选|描述|默认值| |---|---|---|---| |Token|否|用户唯一token|-| |Source|是|客户端来源标识|-| |Version|是|客户端当前版本号|1.0.0| |Identity|否|用户角色|-| **参数** |参数名|必选|类型|描述|默认值| |---|---|---|---|---| |identity|否|string|1、学生(班级注册);2、教师(学校注册);3、学校管理员;4、登录绑定设备码|-| |code|是|string|邀请码|-| **返回示例** - success ```json { "ret": 0, "msg": "ok", "data": { "school": { "id": "1002143798597099273", "xxmc": "思而学校21", "area": "120101", "level": null, "xxxz": "5", "czxz": "4", "gzxz": "3", "jxny": null, "lxdh": null, "xxdz": "", "xxyzbm": null, "dzxx": null, "create_time": "1437985970", "update_time": "1455874580", "status": "0" }, "class": { "id": "1000145526370955619", "uid": "1002143804531023597", "schoolid": "1002143798597099273", "gradeid": "20", "classname": "哈哈", "bjbm": "THRK3RR3Sy", "create_time": "1455263709", "update_time": "1455263709", "status": "0", "type": "2" }, "grade": { "id": "20", "njmc": "2010", "schoolid": "1002143798597099273", "xd": "21", "create_time": "1455260311", "update_time": "1455260311", "status": "0" } } ``` - error ```json { "msg": "参数错误", "ret": -1 } ``` **返回参数说明** |参数名|类型|说明| |---|---|---| |ret |int |状态码 0:成功| |msg |string |状态消息 ok:成功| --: 该接口最后修订时间:2016-02-19 20:14:28 * * * * *