Toggle navigation
Toggle navigation
This project
Loading...
Sign in
web
/
yoho-live
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
xiaofeng.yao@yoho.cn
8 years ago
Commit
08f70fb45d5cd2923f7a9e83766cb9e9ca84f158
1 parent
0c8e4c7c
更新文档
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
60 additions
and
1 deletions
README.md
README.md
View file @
08f70fb
...
...
@@ -935,4 +935,63 @@
}
###### 返回说明
优惠券ID列表
\ No newline at end of file
优惠券ID列表
# **推流端发红包接口**
----------
### **调用说明**
###### url&方式
名称| 说明
:----------- | :-----------:
| url | http://api.live.yoho.cn/v1/redbag/pushbaglist|
| method | get |
###### 参数说明
参数名称| 类型| 长度| 必须| 说明
:-- | :-- | :-- | :-- | :--:
| room_id | int|不限|是|房间ID|
###### 调用示例
http://api.live.yoho.cn/v1/redbag/pushbaglist
GET room_id=1021
### **结果返回**
###### 正确返回
{
code: 200,
message: "",
data: [
{
type_id: 33,
type_name: "just a test",
coupon_ids: [
"14366",
"14368"
]
},
{
type_id: 30,
type_name: "abc123",
coupon_ids: [
"6434454"
]
}
],
timestamp: 1477465250,
md5: "16daeda0d8c1befda724ee07cda54eb9"
}
###### 返回说明
名称| 类型|说明|
:----------- | :-----------: | :-----------:
| type_id | int|红包类型id |
| type_name | string|红包类型名称 |
| coupon_ids | list|优惠券列表(随机取一个回填到命令里发送) |
\ No newline at end of file
...
...
Please
register
or
login
to post a comment