This commit is contained in:
2026-09-15 16:02:45 +08:00
parent 112c5f8e46
commit ade2453083
70 changed files with 1441 additions and 707 deletions
+26
View File
@@ -67,6 +67,32 @@ type OutfitListResponse struct {
List []OutfitCreateResponse `json:"list"`
}
// OutfitCommunityListRequest 社区穿搭列表请求
type OutfitCommunityListRequest struct {
PageRequest
}
// OutfitCommunityListResponse 社区穿搭列表响应
type OutfitCommunityListResponse struct {
PageResponse
List []OutfitCommunityItem `json:"list"`
}
// OutfitCommunityItem 社区穿搭列表项(含作者信息与互动计数)
type OutfitCommunityItem struct {
OutfitUUID string `json:"outfit_uuid"`
OutfitName string `json:"outfit_name"`
OutfitDesc string `json:"outfit_desc"`
Scene string `json:"scene"`
Source int8 `json:"source"` // 1=用户创建 2=AI推荐
CreatedAt int64 `json:"created_at"` // 秒级时间戳
Items []OutfitItemResponse `json:"items"`
OwnerName string `json:"owner_name"`
OwnerAvatar string `json:"owner_avatar"`
LikeCount int64 `json:"like_count"`
CollectCount int64 `json:"collect_count"`
}
// OutfitDeleteRequest 删除穿搭
type OutfitDeleteRequest struct {
OutfitUUID string `json:"outfit_uuid" binding:"required"`