唯品尚特卖商品接口
This commit is contained in:
@@ -199,3 +199,66 @@ type GoodsStock struct {
|
||||
CGoodsId string `json:"c_goods_id"`
|
||||
CStock int `json:"c_stock"`
|
||||
}
|
||||
|
||||
type GetSaleVenueReq struct {
|
||||
PageNo string `json:"pageNo"` //页码
|
||||
PageSize string `json:"pageSize"` //条数
|
||||
Sort int `json:"sort"` //传1为c_id desc ,不传或者传0为c_start_datetime asc
|
||||
}
|
||||
|
||||
type GetSaleVenueRes struct {
|
||||
Code int64 `json:"code"` //返回编码[0为成功,其它为失败]
|
||||
Msg string `json:"msg"` //返回信息[请求接口消息]
|
||||
Data SaleVenueList `json:"data"`
|
||||
}
|
||||
|
||||
type SaleVenueList struct {
|
||||
PageIndex string `json:"pageIndex"`
|
||||
PageCount int `json:"pageCount"`
|
||||
DataCount int `json:"dataCount"`
|
||||
List []SaleVenue `json:"list"` // 会场列表
|
||||
}
|
||||
|
||||
type SaleVenue struct {
|
||||
CID int `json:"c_id"` // 序号
|
||||
CExhibitionID string `json:"c_exhibition_id"` // 会场ID
|
||||
CBrandID int `json:"c_brand_id"` // 品牌ID
|
||||
CExhibitionName string `json:"c_exhibition_name"` // 会场名称
|
||||
CIconImageURL string `json:"c_icon_image_url"` // 会场列表图片
|
||||
CBannerImageURL string `json:"c_banner_image_url"` // 会场Banner图
|
||||
CDescription string `json:"c_description"` // 会场描述(可选)
|
||||
CStartDatetime string `json:"c_start_datetime"` // 会场开始时间
|
||||
CEndDatetime string `json:"c_end_datetime"` // 会场结束时间
|
||||
CCompanyCode string `json:"c_company_code"` //供应商编号
|
||||
}
|
||||
|
||||
type GetSaleVenueGoodsReq struct {
|
||||
PageNo string `json:"pageNo"` //页码
|
||||
PageSize string `json:"pageSize"` //条数
|
||||
ExhibitionID string `json:"exhibition_id"` //会场id
|
||||
}
|
||||
|
||||
type GetSaleVenueGoodsRes struct {
|
||||
Code int64 `json:"code"` //返回编码[0为成功,其它为失败]
|
||||
Msg string `json:"msg"` //返回信息[请求接口消息]
|
||||
Data SaleVenueGoodsList `json:"data"`
|
||||
}
|
||||
|
||||
type SaleVenueGoodsList struct {
|
||||
PageIndex string `json:"pageIndex"`
|
||||
PageCount int `json:"pageCount"`
|
||||
DataCount int `json:"dataCount"`
|
||||
List []SaleVenueGoods `json:"list"` // 会场列表
|
||||
}
|
||||
|
||||
type SaleVenueGoods struct {
|
||||
CID int `json:"c_id"` // 序号
|
||||
CExhibitionID string `json:"c_exhibition_id"` // 商品所属会场 ID
|
||||
CFatherGoodsID string `json:"c_father_goods_id"` // 商品编码
|
||||
CGoodsName string `json:"c_goods_name"` // 商品名称
|
||||
CGoodsImage string `json:"c_goods_image"` // 商品主图
|
||||
CGoodsDescription string `json:"c_goods_description"` // 商品描述
|
||||
CGoodsContent string `json:"c_goods_content"` // 商品详情图(可选)
|
||||
CInPrice string `json:"c_in_price"` // 商品进价
|
||||
COriginalPrice string `json:"c_original_price"` // 商品市场价(吊牌价)
|
||||
}
|
||||
|
Reference in New Issue
Block a user