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
梁海波
2016-07-15 16:23:56 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
92348baf4ae656bfd929a8728ce2013b4b5a4308
92348baf
1 parent
1b299cd7
Created 保存老师认可度 (markdown)
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
55 additions
and
0 deletions
保存老师认可度.md
保存老师认可度.md
0 → 100644
View file @
92348ba
### [上一级](老师对产品认可度)
***
#### 接口说明
+
请求地址
`/api/teacher/has_recognitions`
+
请求方式
`POST`
+
请求参数
| 参数 | 说明 | 必选? |
| ---- | ---- | ---- |
| userId | 整数,不能为null | 是 |
| recognitionIds | 整数集合不能为空 | 是 |
+
返回保存后的数据
```
json
{
"data"
:
{
"contents"
:
[
{
"id"
:
2
,
"name"
:
"行政问题"
},
{
"id"
:
5
,
"name"
:
"处于孕产期"
},
{
"id"
:
3
,
"name"
:
"时机不合适"
}
],
"name"
:
"可以进一步了解"
,
"id"
:
3
}
}
```
##### 异常
-
1. 传递的id不对
返回:
http状态码
`400`
内容
```
json
{
"message"
:
"userId is invalid !"
,
"code"
:
"invalid_param"
}
```
\ No newline at end of file
...
...
Please
register
or
login
to post a comment