first commit

This commit is contained in:
2026-09-11 01:41:52 +08:00
commit 9f22e6ccae
263 changed files with 28935 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
package dto
// LikeCreateRequest 点赞/取消点赞
type LikeCreateRequest struct {
TargetUUID string `json:"target_uuid" binding:"required"` // 穿搭UUID
Action int8 `json:"action" binding:"required,oneof=1 2"` // 1=点赞 2=取消
}
// LikeResponse 点赞/取消点赞响应
type LikeResponse struct{}
// LikeGetByTargetIDRequest 获取穿搭的点赞数
type LikeGetByTargetIDRequest struct {
TargetUUID string `json:"target_uuid" binding:"required"` // 穿搭UUID
}
// LikeGetByTargetIDResponse 获取穿搭的点赞数
type LikeGetByTargetIDResponse struct {
UserIsLiked bool `json:"is_liked"` // 是否已点赞
LikeCount int64 `json:"like_count"` // 点赞数
}