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
chong
2015-07-27 10:26:40 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
ba5a4ee1fdd57c489e1030bd4a74b6e03196afd6
ba5a4ee1
1 parent
0cdb9d2d
Created 教师版系统智能推荐接口 (markdown)
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
42 additions
and
0 deletions
教师版系统智能推荐接口.md
教师版系统智能推荐接口.md
0 → 100644
View file @
ba5a4ee
###接口地址
> /course/teacher/{path_flag}
###请求方式
> get请求
###请求参数
> 无参数
###返回值
######获取成功
```
json
{
"courses"
:
[
{
"id"
:
"L3NoYXJlL3N2bi_kurrmlZnkuIPkuIsg5ZCs5YqbLzAwMS0xLlVuaXQgMSBDYW4geW91IHBsYXkgdGhlIGd1aXRhcj8gMSDlkKzlipsueGxzeA"
,
"name"
:
"Unit 1 Can you play the guitar? 1 听力"
,
"type"
:
"听力测验"
,
"difficulty"
:
"1"
,
"bundleID"
:
"cd58e3bcc4434c8ea2fc5bd593872b38"
,
"cover"
:
"969fb65a3a1a4f2698d91079b61ece63"
,
"lastModified"
:
1437834404849
,
"recommend"
:
true
}
]
}
```
######获取失败情况1
```
json
{
"failed"
:
"该用户未设置偏好"
}
```
######获取失败情况2
```
json
{
"failed"
:
"偏好获取失败,存在异常"
}
```
...
...
Please
register
or
login
to post a comment