文档
测试

未读消息数

GET
/user/api/message/count

请求头

参数名
类型
描述
必填
Authorization
string
Bearer 3f9b9adb-cc60-40e0-b37f-3cb979d662a9
必填

响应参数

参数名
类型
描述
必填
code
number
示例:0
必填
msg
string
示例:操作成功
必填
data
object
数据字典
必填
total
number
未读消息总数
必填
systemNoticeTotal
number
未读提醒数
必填
announcementTotal
number
未读公告数
必填
orderTotal
number
未读订货数
必填
publicTotal
number
未读通知数
必填

说明 / 示例

GET /user/api/message/count HTTP/1.1 Host: localhost:9999 Authorization: Bearer 3f9b9adb-cc60-40e0-b37f-3cb979d662a9 ```json { "code": 0, "msg": "操作成功", "data": { "total": 0, "systemNoticeTotal": 0, "announcementTotal": 0, "orderTotal": 0, "publicTotal": 0 } } ```