zhaojs
2023-09-15 fc13938ff90213060532d99a600dea4a84456885
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
using System;
using System.Collections.Generic;
using System.Text;
 
namespace YouZanSDKStandard.Api.Domain
{
    public class YouZanItemCommonSearchDomain
    {
        /// <summary>
        /// 商品信息集合
        /// </summary>
        public List<YouZanItemCommonSearchDomainItems> items { get; set; }
 
        public YouZanItemCommonSearchDomainPaginator paginator { get; set; }
    }
 
    public class YouZanItemCommonSearchDomainItems
    {
        /// <summary>
        /// 商品上下架状态;0=仓库中(商品下架会在仓库中),1=出售中和已售罄;不传默认查询所有信息;
        /// </summary>
        public int is_display { get; set; }
        /// <summary>
        /// 商品价格,单位:分
        /// </summary>
        public long price { get; set; }
 
        /// <summary>
        /// 所属一级分组ID列表
        /// </summary>
        public List<long> tag_ids { get; set; }
        /// <summary>
        /// 运费,单位:分
        /// </summary>
        public long postage { get; set; }
        /// <summary>
        /// 商品销售状态,枚举值说明:0-非有赞平台出售商品,1-全部在售商品;2-售罄状态为全部售罄;3-售罄状态为部分售罄;
        /// </summary>
        public int sold_status { get; set; }
        /// <summary>
        /// 是否虚拟商品,使用item_types和s_virtual判断商品类型
        /// </summary>
        public int is_virtual { get; set; }
        /// <summary>
        /// 商品别名
        /// </summary>
        public string alias { get; set; }
        /// <summary>
        /// 分享描述
        /// </summary>
        public string summary { get; set; }
        /// <summary>
        /// 商品标题
        /// </summary>
        public string title { get; set; }
        /// <summary>
        /// 商品Id
        /// </summary>
        public long item_id { get; set; }
        /// <summary>
        /// 商品编码
        /// </summary>
        public string goods_no { get; set; }
        /// <summary>
        /// 商品总库存
        /// </summary>
        public long total_stock { get; set; }
        /// <summary>
        /// 商品卖点信息
        /// </summary>
        public string sell_point { get; set; }
    }
 
    public class YouZanItemCommonSearchDomainPaginator
    {
        /// <summary>
        /// 页数
        /// </summary>
        public int page_no { get; set; }
        /// <summary>
        /// 总条数
        /// </summary>
        public int total_count { get; set; }
        /// <summary>
        /// 页码大小
        /// </summary>
        public int page_size { get; set; }
    }
 
}