2026-04-28 19:20:38 +08:00
|
|
|
package request
|
|
|
|
|
|
|
|
|
|
type CreateNotificationRequest struct {
|
2026-08-28 22:23:13 +08:00
|
|
|
RecipientUserID int64 `json:"recipient_user_id"`
|
2026-04-28 19:20:38 +08:00
|
|
|
Title string `json:"title"`
|
|
|
|
|
Content string `json:"content"`
|
2026-08-28 22:23:13 +08:00
|
|
|
NotificationType string `json:"notification_type"`
|
|
|
|
|
BizType string `json:"biz_type"`
|
|
|
|
|
BizID int64 `json:"biz_id"`
|
|
|
|
|
ActionURL string `json:"action_url"`
|
2026-04-28 19:20:38 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type MarkNotificationReadRequest struct {
|
|
|
|
|
ID int64 `json:"id"`
|
|
|
|
|
}
|