1、基本信息
(1)请求方法: http get
(2)请求地址: http://{hostname}/suptruck/msg/list
(3)接口描述: 首次进入的时候拉取该客户未读的消息
2、请求参数
无
3、请求示例
无
4、响应参数
| 名称 | 数据类型 | 说明 |
|---|---|---|
| code | Integer | code |
| msg | String | 提示信息 |
| timestamp | String | 时间戳 |
| data | Array | Json对象 |
| - noticeId | Long | 公告通知ID |
| - noticeType | String | 公告类型 10:通知 20:公告 30:资讯信息 |
| - noticeTitle | String | 公告标题 |
| - noticeBrief | String | 摘要 |
| - noticeContent | String | 公告内容 |
5、响应示例
{"total": 1,"data": [{"noticeId": "1","noticeType": "20","noticeTitle": "2021年双11购物节特惠活动公告","noticeBrief": "我们的特惠活动已经开始了,抓紧时间享受优惠吧!","noticeContent": "<p>尊敬的顾客,...(公告内容省略)</p>"}],"code": 100,"msg": "查询成功","timestamp": "2023-04-26 16:27:30"}
备注
- 更多返回错误代码请看首页的错误代码描述
