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"` // 收藏数 }