mirror of
https://github.com/snowykami/neo-blog.git
synced 2025-09-26 02:56:22 +00:00
All checks were successful
Push to Helm Chart Repository / build (push) Successful in 13s
- Added support for nested comments with reply functionality. - Implemented like/unlike feature for comments and posts. - Enhanced comment DTO to include reply count, like count, and like status. - Updated comment and like services to handle new functionalities. - Created new API endpoints for toggling likes and listing comments. - Improved UI components for comments to support replies and likes with animations. - Added localization for new comment-related messages. - Introduced a TODO list for future enhancements in the comment module.
7 lines
199 B
Go
7 lines
199 B
Go
package dto
|
|
|
|
type ToggleLikeReq struct {
|
|
TargetID uint `json:"target_id" binding:"required"`
|
|
TargetType string `json:"target_type" binding:"required"` // 目标类型,如 "post", "comment"
|
|
}
|