多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
**基本信息** 接口地址:`http[s]://api.12xue.com/course/info` 请求方式:`GET` 请求类型:`application/x-www-form-urlencoded` 响应类型:`json` **请求头** |参数名|必选|描述|默认值| |---|---|---|---| |Token|否|用户唯一token|-| |Source|是|客户端来源标识|-| |Version|是|客户端当前版本号|1.0.0| |Identity|否|用户角色|-| **参数** |参数名|必选|类型|描述|默认值| |---|---|---|---|---| |kcid|是|int|课程id|-| **返回示例** - success ```json { "ret": 0, "msg": "ok", "id": "1003145534857495680", "kclx": "2", "title": "山中访友", "ks": "", "xkid": "1071", "njid": "8820", "bbid": "13484", "sxcid": "13509", "dyid": "13558", "jieid": "13932", "fbrxm": "开发管理", "fxd": "1002143798597099273", "fxfw": "1", "uid": "1003143997294121958", "ispush": "1", "schoolid": "1003143997288692791", "create_time": "1455348574", "update_time": "1455669979", "status": "0", "areaid": "370687", "sys_code": "1003", "collect_total": null, "quote_total": null, "comment_total": null, "ksname": "", "xkcode": "1071", "xkname": "语文", "njcode": "21_1", "njname": "一年级", "bbcode": "13484", "bbname": "人教新课标", "sxccode": "13509", "sxcname": "上册", "dycode": "13558", "dyname": "第一单元", "jiename": "识字(一) ", "color": "yuwen", "skrq": "2016-02-17", "classes_unsent": { { "classname": "九班", "njmc": "2016", "bjid": "1003143997295184793", "uid": "1003143997294121958", "type": "1", "bjbm": "9", "identitytype": "2", "schoolid": "1003143997288692791", "gradeid": "9", "xd": "21", "duty": "2", "bjmc": "2016级九班" }, { "classname": "123", "njmc": "2016", "bjid": "100014551795176418", "uid": "1003143997294121958", "type": "2", "bjbm": "h2IxZMkZKP", "identitytype": "2", "schoolid": "1003143997288692791", "gradeid": "13", "xd": "31", "duty": "2", "bjmc": "2016级123", "skrq": "2016-02-17" }, { "classname": "三班", "njmc": "2015", "bjid": "1000145466799464975", "uid": "1003143997294121958", "type": "2", "bjbm": "PqwmZw6bet", "identitytype": "2", "schoolid": "1003143997288692791", "gradeid": "16", "xd": "21", "duty": "2", "bjmc": "2015级三班" }, { "classname": "二班", "njmc": "2013", "bjid": "100014546727032090", "uid": "1003143997294121958", "type": "2", "bjbm": "VsAvd1jlrK", "identitytype": "2", "schoolid": "1003143997288692791", "gradeid": "17", "xd": "21", "duty": "2", "bjmc": "2013级二班" }, { "classname": "一年级一班", "njmc": "2013", "bjid": "1000145527344788397", "uid": "1003143997294121958", "type": "1", "bjbm": "uHHj0MMaX7", "identitytype": "2", "schoolid": "1002143804554287036", "gradeid": "21", "xd": "21", "duty": "2", "bjmc": "2013级一年级一班" }, ...... ], "classes_sent": [ { "classname": "九班", "njmc": "2014", "bjid": "1000145466778522008", "uid": "1003143997294121958", "type": "2", "bjbm": "RxtSUWrLVh", "identitytype": "2", "schoolid": "1003143997288692791", "gradeid": "15", "xd": "21", "duty": "2", "bjmc": "2014级九班", "skrq": "2016-02-17" }, ... ], "materiallist": { "jksc": [ { "id": "1003145534857559110", "kcid": "1003145534857495680", "zyid": "1033145463839495146", "sksylx": "1", "zyqf": "1", "kclx": null, "xsmc": "1213213123.docx", "tx": null, "sort": "1", "pid": "0", "is_true": "-1", "zyinfo": { "id": "1033145463839495146", "fbrxm": "开发管理kfadmin", "title": "1213213123", "serverpath": "http://res-qiniu.12xue.com/", "serverpath2": null, "savepath": null, "savename": "o_1aanj8q751jhs1h51jc61adcq3i9.docx", "filetype": ".docx", "filesize": "27112", "filecode": "z0.56b4054a7823de14f773fb99", "filetime": null, "convert_status": "1", "is_convert": "1", "is_download": "0", "preview_link": "D_z0JDK-03Ckns1jK4g51w6YXq0=/Fou7kNeNqFILfbEn1gfc28A5Nzqi", "xkid": "1071", "njid": "1427", "bbid": "1428", "sxcid": "1429", "dyid": "1430", "jieid": "1431", "uid": "1002143804531023597", "schoolid": "1002143799009723231", "create_time": "1454638394", "update_time": "1454638394", "attach_id": null, "areaid": "110117", "fl": "1", "sys_code": "1033", "mtype": null, "file_link": "1213213123.docx", "status": "0", "sys": "1", "fxfw": null, "fxd": "0", "errorcount": null, "rootpath": "D_z0JDK-03Ckns1jK4g51w6YXq0=/Fou7kNeNqFILfbEn1gfc28A5Nzqi", "outfilepath": null, "weboffice_view": "http://weboffice2.gridinfo.com.cn/op/view.aspx?src=" } }, { "id": "1003145534857563213", "kcid": "1003145534857495680", "zyid": "1033145458093753663", "sksylx": "1", "zyqf": "1", "kclx": null, "xsmc": "e740c41764b7228e0e82a4b797e3e271.jpg", "tx": null, "sort": "2", "pid": "0", "is_true": "-1", "zyinfo": { "id": "1033145458093753663", "fbrxm": "开发管理kfadmin", "title": "e740c41764b7228e0e82a4b797e3e271", "serverpath": "http://res-qiniu.12xue.com/", "serverpath2": null, "savepath": null, "savename": "o_1aalsfb97q85p2m1h259qa10hf9.jpg", "filetype": ".jpg", "filesize": "109842", "filecode": null, "filetime": null, "convert_status": "0", "is_convert": null, "is_download": "0", "preview_link": null, "xkid": "1071", "njid": "1427", "bbid": "1428", "sxcid": "1429", "dyid": "1430", "jieid": "1431", "uid": "1002143804531023597", "schoolid": "1002143799009723231", "create_time": "1454580937", "update_time": "1454580937", "attach_id": null, "areaid": "110117", "fl": "1", "sys_code": "1033", "mtype": null, "file_link": "e740c41764b7228e0e82a4b797e3e271.jpg", "status": "0", "sys": "1", "fxfw": null, "fxd": "0", "errorcount": null, "rootpath": "o_1aalsfb97q85p2m1h259qa10hf9.jpg", "outfilepath": null, "weboffice_view": "http://weboffice2.gridinfo.com.cn/op/view.aspx?src=" } }, ...... ] } } ``` - error ```json { "msg": "未获取到课程信息", "ret": -1 } ``` **返回参数说明** |参数名|类型|说明| |---|---|---| |ret |int |状态码 0:成功| |msg |string |状态消息 ok:成功| --: 该接口最后修订时间:2017-09-07 17:16:30 * * * * *