Recommendation API

This commit is contained in:
2024-07-23 16:12:19 +08:00
parent 8429d72ad1
commit 2cf24c4724
7 changed files with 143 additions and 44 deletions

View File

@ -16,4 +16,7 @@ type Account struct {
Posts []Post `json:"posts" gorm:"foreignKey:AuthorID"`
Reactions []Reaction `json:"reactions"`
ExternalID uint `json:"external_id"`
TotalUpvote int `json:"total_upvote"`
TotalDownvote int `json:"total_downvote"`
}