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 17:26:44 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
6b7a23d5794d999ac653b527d5c28842a000e8a6
6b7a23d5
1 parent
0a0ebd0e
Created 获取老师红包 (markdown)
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
40 additions
and
0 deletions
获取老师红包.md
获取老师红包.md
0 → 100644
View file @
6b7a23d
### [上一级](老师红包)
***
#### 接口说明
+
请求地址
`/api/teacher/has_red_envelopes/user/{user_id}`
+
请求方式
`GET`
+
请求参数
`无`
+
返回数据
```
json
{
"data"
:
{
"contents"
:
[
{
"id"
:
7
,
"name"
:
"对产品不够有信息"
},
{
"id"
:
8
,
"name"
:
"不愿做出头鸟"
}
],
"name"
:
"可以进一步了解"
,
"id"
:
3
}
}
```
+
无数据时返回
```
json
{
"message"
:
"没有红包记录!"
,
"code"
:
"not_found"
}
```
\ No newline at end of file
...
...
Please
register
or
login
to post a comment