多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
~~~[api] get:/v1/coach/homework int:id#作业id type#选中的类型(基础:base,扩展:extend) int:sort#选中的资源sort <<< success { "ret": 0, "msg": "ok", "data": { "id": " 1033146709868481077", "title": "2016-6-28 语文作业", "content": "", "xkid": "1071", "njid": "1510", "bbid": "0", "sxcid": "0", "dyid": "0", "jieid": "0", "fbrxm": "邹峰", "fxfw": 5, "fxd": "0", "is_attach": 0, "is_push": 0, "uid": "1033145308280422915", "schoolid": "01002143798597099273", "nyd": null, "create_time": 1467098684, "update_time": 1467100008, "zys": 13, "status": 0, "areaid": 120101, "sys_code": 1033, "is_mobile": 0, "dansz": null, "is_score": null, "xts": 10, "sys_type": 4, "materiallist": [ { "id": "1033146710000977204", "hwid": "1033146709868481077", "zyid": "1001146673677160145", "zyqf": 1, "ytlx": 3, "zymc": "学案", "tx": null, "sort": 1, "score": null, "txstr": "未知题型", "ksort": 1 //如果要显示序号,用这个 }, { "id": "1033146710000915468", "hwid": "1033146709868481077", "zyid": "1000146649221464326", "zyqf": 2, "ytlx": 1, "zymc": "威威威威威威威威威威威威威威", "tx": "danxt", "sort": 2, "score": null, "txstr": "单选题", "ksort": 2 }, { "id": "1033146710000924971", "hwid": "1033146709868481077", "zyid": "1000146700689922611", "zyqf": 2, "ytlx": 1, "zymc": "单选题", "tx": "duoxt", "sort": 3, "score": null, "txstr": "多选题", "ksort": 3 }, { "id": "1033146710000936808", "hwid": "1033146709868481077", "zyid": "1000146700720566300", "zyqf": 2, "ytlx": 1, "zymc": "单选题", "tx": "danxt", "sort": 4, "score": null, "txstr": "单选题", "ksort": 4 }, { "id": "1033146710000944540", "hwid": "1033146709868481077", "zyid": "1000146700724060086", "zyqf": 2, "ytlx": 1, "zymc": "单选题", "tx": "danxt", "sort": 5, "score": null, "txstr": "单选题", "ksort": 5 }, { "id": "1033146710000952302", "hwid": "1033146709868481077", "zyid": "1000146702912055864", "zyqf": 2, "ytlx": 1, "zymc": "dsadasdsadsf", "tx": "pdt", "sort": 6, "score": null, "txstr": "判断题", "ksort": 6 }, { "id": "1033146710000962284", "hwid": "1033146709868481077", "zyid": "1000146700708461507", "zyqf": 2, "ytlx": 1, "zymc": "单选题", "tx": "danxt", "sort": 7, "score": null, "txstr": "单选题", "ksort": 7 }, { "id": "1033146710000970065", "hwid": "1033146709868481077", "zyid": "1001146673439448548", "zyqf": 1, "ytlx": 1, "zymc": "1'11‘.jpg", "tx": null, "sort": 8, "score": null, "txstr": "未知题型", "ksort": 8 }, { "id": "1033146710000977385", "hwid": "1033146709868481077", "zyid": "1000146700693193518", "zyqf": 2, "ytlx": 1, "zymc": "单选题", "tx": "pdt", "sort": 9, "score": null, "txstr": "判断题", "ksort": 9 }, { "id": "1033146710000984703", "hwid": "1033146709868481077", "zyid": "1001146673439571343", "zyqf": 1, "ytlx": 1, "zymc": "一年级奥数:简单推理.ppt", "tx": null, "sort": 10, "score": null, "txstr": "未知题型", "ksort": 10 }, { "id": "1033146710000993524", "hwid": "1033146709868481077", "zyid": "1000146700684532572", "zyqf": 2, "ytlx": 1, "zymc": "单选题", "tx": "danxt", "sort": 11, "score": null, "txstr": "单选题", "ksort": 11 }, { "id": "1033146710001023074", "hwid": "1033146709868481077", "zyid": "1000146700705179480", "zyqf": 2, "ytlx": 1, "zymc": "单选题", "tx": "danxt", "sort": 12, "score": null, "txstr": "单选题", "ksort": 12 }, { "id": "1033146710001025091", "hwid": "1033146709868481077", "zyid": "1000146700736131736", "zyqf": 2, "ytlx": 1, "zymc": "单选题单选题", "tx": "danxt", "sort": 13, "score": null, "txstr": "单选题", "ksort": 13 } ], "materialtzxt": [], "materialdxa": [ { "id": "1033146710000977204", "hwid": "1033146709868481077", "zyid": "1001146673677160145", "zyqf": 1, "ytlx": 3, "zymc": "学案", "tx": null, "sort": 1, "score": null, "txstr": "未知题型", "ksort": 1 } ], "pushlist": [], "sort": "1", //基础或者扩展的sort "type": "base", //返回基础还是扩展 "active": { //查看的素材 "id": "1033146710000977204", "hwid": "1033146709868481077", "zyid": "1001146673677160145", "zyqf": 1, "ytlx": 3, "zymc": "学案", "tx": null, "sort": 1, "score": null, "txstr": "未知题型", "ksort": 1 } } } <<< error { "ret": -1, "msg": "参数错误", "data": [] } ~~~