订阅消息
请求URL
{{url}}/api/message/sub
请求方式
get
Header
字段名
示例值
必选
类型
说明
x-api-key
{{x-api-key}}
是
string
无
x-api-secret
{{x-api-secret}}
是
string
无
请求参数示例
成功返回示例
{
"code": 0,
"data": {
"count": null,
"list": [
{
"email": 1,
"msg_type": "package-expire",
"phone": 1,
"uid": 2
},
{
"email": 1,
"msg_type": "traffic-exceed",
"phone": 1,
"uid": 2
},
{
"email": 1,
"msg_type": "cc-switch",
"phone": 1,
"uid": 2
},
{
"email": 1,
"msg_type": "bandwidth-exceed",
"phone": 1,
"uid": 2
},
{
"email": 1,
"msg_type": "connection-exceed",
"phone": 1,
"uid": 2
},
{
"email": 1,
"msg_type": "cert-expire",
"phone": 1,
"uid": 2
}
]
},
"msg": "获取订阅成功"
}
成功返回示例的参数说明
参数名
类型
说明
code
string
无
data
object
无
count
object
无
list
array
无
list.email
string
无
list.msg_type
string
package-expire(套餐到期),traffic-exceed(流量超限)、announcement(公告)
list.phone
string
无
list.uid
string
无
msg
string
无
Last updated