Appearance
功能概述
用户消息通知列表展示模块
接口访问
接口地址
user/notice/list
请求方式 Method
GET
Header - Authorization Type : Bearer Token
| 属性 | 类型 | 长度 | 必填 | 默认值 | 说明 | 访问版本 |
|---|---|---|---|---|---|---|
| token | string | 32 | true | 用户身份标识令牌 | - |
返回值
| 属性 | 类型 | 必填 | 说明 |
|---|---|---|---|
| id | integer | true | 消息通知ID |
| title | string | true | 通知标题 |
| description | string | true | 通知描述 |
| imageUrl | string | false | 通知图片地址 |
| noticeType | integer | true | 通知类型 1. 全局通知 2. 系统消息 3. 用户消息 |
| isRead | integer | true | 是否已读 0.否 1.是 |
| createTime | datetime | true | 创建时间 |
返回示例
{
"response": [
{
"id": 1,
"title": "基础通知111",
"description": "描述",
"imageUrl": "",
"noticeType": 1,
"isRead": 0,
"createTime": "2024-12-14 11:53:50"
}
],
"requestId": "1ea0b0f6-ab45-46b2-8872-6a3c910f0581"
}