JiangTengfei

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

@@ -18,28 +18,25 @@ id 和 path 直传一个,两个都传,默认以id为准 @@ -18,28 +18,25 @@ id 和 path 直传一个,两个都传,默认以id为准
18 18
19 ####接口返回值为: 19 ####接口返回值为:
20 ```json 20 ```json
21 -[ 21 +返回一级目录:
  22 +{
  23 + "catalogList": [
22 { 24 {
23 - "id": 1, 25 + "id": 1867,
24 - "path": 100, 26 + "pathFlag": 100,
25 - "name": "教材" 27 + "name": "教材",
  28 + "summary": null,
  29 + "image":"http://avatars.boxfish.cn/user/-12/figure/1411532427.jpg"
26 }, 30 },
27 { 31 {
28 - "id": 2, 32 + "id": 2420,
29 - "path": 100100, 33 + "pathFlag": 101,
30 - "name": "七年级上" 34 + "name": "文章",
31 - }, 35 + "summary": null,
32 - { 36 + "image":"http://avatars.boxfish.cn/user/-12/figure/1411532427.jpg"
33 - "id": 3,  
34 - "path": 100100100,  
35 - "name": "Unit 1"  
36 - },  
37 - {  
38 - "id": 4,  
39 - "path": 100100101,  
40 - "name": "Unit 2"  
41 } 37 }
42 -] 38 + ]
  39 +}
43 ``` 40 ```
44 41
45 path是为提供树形结构提供的数据信息,三位数字为一个单位,每个单位固定以100开头,举例来讲: 42 path是为提供树形结构提供的数据信息,三位数字为一个单位,每个单位固定以100开头,举例来讲: