多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
**基本信息** 接口地址:`http[s]://api.12xue.com/dynamic/classes` 请求方式:`GET` 请求类型:`application/x-www-form-urlencoded` 响应类型:`json` **请求头** |参数名|必选|描述|默认值| |---|---|---|---| |Token|否|用户唯一token|-| |Source|是|客户端来源标识|-| |Version|是|客户端当前版本号|1.0.0| |Identity|否|用户角色|-| **参数** |参数名|必选|类型|描述|默认值| |---|---|---|---|---| |num|否|string|每页条目 默认10|-| |identitytype|否|string|0所有 2老师 3学生 4家长 默认0|-| |area|否|string|0 本班 1 本校|-| |p|否|string|页码 默认1|-| **返回示例** - success ```json { "ret": 0, "msg": "ok", "list": [ { "id": "96", "uid": "1000145286031341210", "createtime": "10分钟前", "device": "来自web端", "content": "21212ewqewq", "forword_count": "0", "thumbup_count": "0", "status": "1", "comment_count": "0", "video_list": [], "audio_list": [], "content_type": "", "image_list": [], "identitytype": "2", "fxfw": "5", "resourceid": "0", "tag": null, "type": "0", "reproduct_id": "0", "root_id": "0", "ref": null, "userinfo": { "realname": "刘春强", "identitytype": "2", "face": "http://www.12xuedev.com/Common/images/face/big/noreg_0.jpg", "xxmc": "烟台网格学校", "rank": "V0", "role": "老师" } }, { "id": "95", "uid": "1000145286031341210", "createtime": "11分钟前", "device": "来自web端", "content": "21212ewqewq", "forword_count": "0", "thumbup_count": "0", "status": "1", "comment_count": "0", "video_list": [], "audio_list": [], "content_type": "", "image_list": [], "identitytype": "2", "fxfw": "5", "resourceid": "0", "tag": null, "type": "0", "reproduct_id": "0", "root_id": "0", "ref": null, "userinfo": { "realname": "刘春强", "identitytype": "2", "face": "http://www.12xuedev.com/Common/images/face/big/noreg_0.jpg", "xxmc": "烟台网格学校", "rank": "V0", "role": "老师" } } ], "totle": 4, "totlepage": 1, "page": "<div class='pager'><span class=\"\">首页</span><span class=\"\">上一页</span><span class=\"current\">1</span>\n<span class=\"\">下一页</span><span class=\"\">尾页</span></div>", "pagesize": 10, "current": 1 } ``` - error ```json { "ret": -1, "msg": "操作失败!", } ``` **返回参数说明** |参数名|类型|说明| |---|---|---| |ret |int |状态码 0:成功| |msg |string |状态消息 ok:成功| --: 该接口最后修订时间:2016-08-01 14:11:08 * * * * *