多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
**基本信息** 接口地址:`http[s]://api.12xue.com/parent/material` 请求方式:`GET` 请求类型:`application/x-www-form-urlencoded` 响应类型:`json` **请求头** |参数名|必选|描述|默认值| |---|---|---|---| |Token|否|用户唯一token|-| |Source|是|客户端来源标识|-| |Version|是|客户端当前版本号|1.0.0| |Identity|否|用户角色|-| **参数** |参数名|必选|类型|描述|默认值| |---|---|---|---|---| |id|是|bigint|素材id|-| |hwid|否|bigint|作业id|-| |classid|否|bigint|班级id|-| |yxzt|否|int|预习状态1 预习中 2预习完毕|-| |step|否|int|预习到第几步|-| |uid|否|bigint|用户id|-| **返回示例** - success ```json { "ret": 0, "msg": "ok", "id": "1033145466276094874", "fbrxm": "开发管理kfadmin", "title": "小小的船", "serverpath": "http://res-qiniu.12xue.com/", "serverpath2": null, "savepath": null, "savename": "o_1aaoagcti1c6a1q195263fee8e9.ppt", "filetype": ".ppt", "filesize": "872960", "filecode": "z0.56b4646f7823de14f778c789", "filetime": null, "convert_status": "1", "is_convert": "1", "is_download": "0", "preview_link": "D_z0JDK-03Ckns1jK4g51w6YXq0=/FnCDtg4xt4zEhZUkzJgFtHURu6mV", "xkid": "1071", "njid": "1427", "bbid": "1428", "sxcid": "1429", "dyid": "1430", "jieid": "1431", "uid": "1002143804531023597", "schoolid": "1002143799009723231", "create_time": "1454662760", "update_time": "1454662760", "attach_id": null, "areaid": "110117", "fl": "1", "sys_code": "1033", "mtype": null, "file_link": "小小的船.ppt", "status": "0", "sys": "0", "fxfw": null, "fxd": "0", "errorcount": "3", "rootpath": "D_z0JDK-03Ckns1jK4g51w6YXq0=/FnCDtg4xt4zEhZUkzJgFtHURu6mV", "outfilepath": null, "weboffice_view": "http://weboffice2.gridinfo.com.cn/op/view.aspx?src=" } ``` - error ```json { "ret": 0, "msg": "该素材已被删除了!" } ``` **返回参数说明** |参数名|类型|说明| |---|---|---| |ret |int |状态码 0:成功| |msg |string |状态消息 ok:成功| --: 该接口最后修订时间:2016-02-19 19:11:36 * * * * *