Toggle navigation
Toggle navigation
This project
Loading...
Sign in
liuming
/
developer-docs
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
JiangTengfei
2015-07-16 10:48:00 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
32a1b724bae95f97910d3e62d4ec37b5fcb13d12
32a1b724
1 parent
994d2a01
Updated 课程分类信息查询 (markdown)
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
22 deletions
课程分类信息查询.md
课程分类信息查询.md
View file @
32a1b72
...
...
@@ -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开头,举例来讲:
...
...
Please
register
or
login
to post a comment