说明
消息列表
请求地址
环境 | 请求地址 |
---|---|
测试环境 | https://pay.umxnt.com/api/merchant/info_list |
请求参数
参数 | 类型 | 是否必填 | 最大长度 | 描述 |
---|---|---|---|---|
token | string | 是 | 11 | 令牌 |
- 成功返回有数据
{
"status": 1,
"message": "数据返回成功",
"data": [
{
"title": "系统公告",
"type": "notice",
"unread": "1",
"desc": "想用公告",
"updated_at": "2018-06-26 00:00:00"
},
{
"title": "消息通知",
"type": "news",
"unread": "1",
"desc": "想用平台大更新",
"updated_at": "2018-06-26 00:00:00"
}
]
}
- 成功返回没有数据
{
"status": 1,
"message": "数据返回成功",
"data": [],
"l": 15,
"p": 1,
"t": 0
}
参数说明 | 说明 |
---|---|
title | 大分类标题 |
unread | 未阅读数量 |
desc | 小标题 |
type | 类型 news 新闻/消息, notice 公告 |
updated_at | 发布时间 |
失败请求示例
{ "message":"无效参数", "status":2 }