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、响应示例

  1. {
  2. "total": 1,
  3. "data": [
  4. {
  5. "noticeId": "1",
  6. "noticeType": "20",
  7. "noticeTitle": "2021年双11购物节特惠活动公告",
  8. "noticeBrief": "我们的特惠活动已经开始了,抓紧时间享受优惠吧!",
  9. "noticeContent": "<p>尊敬的顾客,...(公告内容省略)</p>"
  10. }
  11. ],
  12. "code": 100,
  13. "msg": "查询成功",
  14. "timestamp": "2023-04-26 16:27:30"
  15. }
备注
  • 更多返回错误代码请看首页的错误代码描述