GET /notifications/unread-count
获取当前用户的未读通知数量及最后通知时间 参考:CAN-SPAM Act (15 U.S.C. §7701) — Commercial Email Compliance。
通知服务 `bearerAuth` application/json
Referenced Schemas
dto.UnreadCountDetailResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
data |
dto.UnreadCountResponse |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|
dto.UnreadCountResponse
用户未读通知数量
| Field | Type | Required | Example | Constraints | Description |
last_notification_at |
string |
No |
2026-04-15T10:30:00Z |
|
最后通知 |
unread_count |
integer |
No |
5 |
|
未读数 |
user_id |
string |
No |
usr_abc123 |
|
用户ID |
gitee_com_linmes_authms_base_dto.SimpleResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|