lefengyang
2026-08-20 d01a28cb030b2cb0ff1d42273c877a0f728519a6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
// 分类路径项类型
interface CategoryPathItem {
    id: number;
    name: string;
}
 
// 分类信息类型
interface Category {
    id: number;
    name: string;
    path: CategoryPathItem[];
    productCategoryId: number;
}
 
// 日志信息类型
interface ItemLog {
    etc: string;
}
 
// 卖家信息类型
interface Seller {
    id: string;
    goodRatio: number;
    numRating: number;
}
 
// 核心商品信息类型
 export interface IYahooFleamarketProductItem {
    id: string;
    title: string;
    price: number;
    likeCount: number;
    openTime: string; // ISO 8601 格式的时间字符串
    endTime: string;   // ISO 8601 格式的时间字符串
    thumbnailImageUrl: string;
    imageCount: number;
    category: Category;
    sellerId: string;
    itemStatus: string; // 可扩展为联合类型:'OPEN' | 'CLOSED' | 'EXPIRED'
    isPriceDown: boolean;
    hashtag: string[]; // 标签数组,当前为空
    log: ItemLog;
    seller: Seller;
    condition: string; // 可扩展为联合类型:'new' | 'used' | 'refurbished'
    isFirstSubmit: boolean;
    isSparkleSubmit: boolean;
    isTargetCountDownCampaign: boolean;
    isImageLarge: boolean;
}