feat:时间线相关rabbitMQ

This commit is contained in:
Amnesia
2026-03-13 16:00:17 +08:00
parent cf83e11778
commit 7be6e8bdb5
3 changed files with 77 additions and 14 deletions

View File

@@ -38,3 +38,11 @@ type UpdateLikesCountRequest struct {
ID uint `json:"id"`
LikesCount int64 `json:"likes_count"`
}
type OutboxMsg struct {
ID uint `gorm:"primaryKey"`
VideoID uint `gorm:"index"`
EventType string `gorm:"type:varchar(50)"`
CreateTime time.Time `gorm:"autoCreateTime"`
Status string `gorm:"type:varchar(50);index"`
}