...
|
...
|
@@ -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 |
...
|
...
|
|