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
+29
View File
@@ -0,0 +1,29 @@
package dto
// 收藏/取消收藏
type CollectRequest struct {
TargetUUID string `json:"target_uuid" binding:"required"`
Action int8 `json:"action" binding:"required,oneof=1 2"` // 1=收藏 2=取消
}
type CollectResponse struct{}
type CollectListRequest struct {
PageRequest
}
type CollectListResponse struct {
PageResponse
List []OutfitGetByUUIDResponse `json:"list"`
}
// CollectGetByTargetRequest 查询穿搭收藏状态
type CollectGetByTargetRequest struct {
TargetUUID string `json:"target_uuid" binding:"required"` // 穿搭UUID
}
// CollectGetByTargetResponse 查询穿搭收藏状态
type CollectGetByTargetResponse struct {
UserIsCollected bool `json:"is_collected"` // 是否已收藏
CollectCount int64 `json:"collect_count"` // 收藏数
}