多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
**基本信息** 接口地址:`http[s]://api.12xue.com/course/messagelist` 请求方式:`GET` 请求类型:`application/x-www-form-urlencoded` 响应类型:`json` **请求头** |参数名|必选|描述|默认值| |---|---|---|---| |Token|否|用户唯一token|-| |Source|是|客户端来源标识|-| |Version|是|客户端当前版本号|1.0.0| |Identity|否|用户角色|-| **参数** |参数名|必选|类型|描述|默认值| |---|---|---|---|---| |suid|是|string|学生uid|-| |identitytype|否|int|用户角色|-| |p|否|string|默认0|-| |num|否|string|默认10 每页条目|-| **返回示例** - success ```json { "ret": 0, "msg": "ok", "list": [ { "id": "9", "createtime": "1468840117", "begin_time": "1468838777", "content": "语文老师青州二中发送了 \"劝学\" 课程,请及时查看", "from_uid": "1033145308280422915", "to_uid": "1034145308280422935", "status": "0", "kcid": "1004146883835023739", "classid": "1000146641420826073" }, { "id": "10", "createtime": "1468889437", "begin_time": "1468889528", "content": "语文老师青州二中发送了 \"这份暧昧尽头\" 课程,请及时查看", "from_uid": "1033145308280422915", "to_uid": "1033145308280423251", "status": "0", "kcid": "1004146888950652381", "classid": "1000145622160263005" }, { "id": "12", "createtime": "1468889463", "begin_time": "1468889554", "content": "语文老师青州二中发送了 \"这份暧昧尽头\" 课程,请及时查看", "from_uid": "1033145308280422915", "to_uid": "1000145286031341267", "status": "0", "kcid": "1004146888950652381", "classid": "1000145570366856321" } ], "total": 14, "totalpage": 2, "pagesize": 10, "current": 1 } ``` - error ```json { "ret": -1, "msg": "参数错误或者未定义" } ``` **返回参数说明** |参数名|类型|说明| |---|---|---| |ret |int |状态码 0:成功| |msg |string |状态消息 ok:成功| --: 该接口最后修订时间:2016-08-20 11:15:30 * * * * *