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
李振兴
2015-07-22 10:45:38 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a0e669451c2cc18b5215165a9ba6648c28f53e1f
a0e66945
1 parent
e866030c
Created 教师偏好获取接口 (markdown)
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
0 deletions
教师偏好获取接口.md
教师偏好获取接口.md
0 → 100644
View file @
a0e6694
###接口地址
> /teacher_preference/getting
###请求方式
> get请求
###请求参数
> 无参数
###返回值
######获取成功
```
json
{
"success"
:
{
"id"
:
5
,
"userId"
:
5
,
"fitGrade"
:
"初一"
,
"publication"
:
"人教2012版"
,
"book"
:
"七上"
,
"difficulty"
:
"1,2,3"
,
"updateTime"
:
"2015-07-21T11:45:32.299+0000"
}
}
```
######获取失败情况1
```
json
{
"failed"
:
"该用户未设置偏好"
}
```
######获取失败情况2
```
json
{
"failed"
:
"偏好获取失败,存在异常"
}
```
...
...
Please
register
or
login
to post a comment