JiangTengfei

Updated 课程分类信息查询 (markdown)

... ... @@ -18,28 +18,25 @@ id 和 path 直传一个,两个都传,默认以id为准
####接口返回值为:
```json
[
{
"id": 1,
"path": 100,
"name": "教材"
},
{
"id": 2,
"path": 100100,
"name": "七年级上"
},
{
"id": 3,
"path": 100100100,
"name": "Unit 1"
},
{
"id": 4,
"path": 100100101,
"name": "Unit 2"
}
]
返回一级目录:
{
"catalogList": [
{
"id": 1867,
"pathFlag": 100,
"name": "教材",
"summary": null,
"image":"http://avatars.boxfish.cn/user/-12/figure/1411532427.jpg"
},
{
"id": 2420,
"pathFlag": 101,
"name": "文章",
"summary": null,
"image":"http://avatars.boxfish.cn/user/-12/figure/1411532427.jpg"
}
]
}
```
path是为提供树形结构提供的数据信息,三位数字为一个单位,每个单位固定以100开头,举例来讲:
... ...