获取通知
GET
http://localhost:520/api/notify?type=all&read=true&page=1&pageSize=10
请求参数
参数名
类型
描述
必填
type
string
示例:all or comment or system or atme 通知类型
必填
read
string
示例:true or false 可选 通知是否已读
必填
page
int
示例:1 当前页
必填
pageSize
int
示例:10 当前页 大小
必填
响应参数
参数名
类型
描述
必填
code
int
示例:0
必填
msg
string
示例:sucess
必填
page
int
示例:1
必填
pageSize
int
示例:10
必填
total
int
示例:1
必填
content
string
示例:<a href='https://lceda.cn/lpl' target='_blank' style='text-decoration: none; color:#58f;'>lck</a> 关注了你
必填
status
string
示例:read or unread 通知状态。是否已读
必填
type
string
示例:focus 通知类型:like focus 对应爱心 system 对应小喇叭 project 对应项目图标
必填
created_at
string
示例:2020-11-24T10:20:13.000Z
必填
updated_at
string
示例:2020-11-24T10:20:17.000Z
必填
id
number
实例
必填