1
This commit is contained in:
@@ -11,4 +11,28 @@ type SupermProductCreateSubProductResponse struct {
|
||||
type SupermProductCreateSubProductData struct {
|
||||
// 门店子商品ID
|
||||
SubProductId int64 `json:"sub_product_id"`
|
||||
// sku信息
|
||||
SubSkuInfos []SubSkuInfosItem `json:"sub_sku_infos"`
|
||||
}
|
||||
type Value struct {
|
||||
// 属性值
|
||||
ValueName string `json:"ValueName"`
|
||||
}
|
||||
type Property struct {
|
||||
// 属性名
|
||||
PropertyName string `json:"PropertyName"`
|
||||
}
|
||||
type SalePropertyValuesItem struct {
|
||||
// 属性值
|
||||
Value *Value `json:"Value"`
|
||||
// 属性名
|
||||
Property *Property `json:"Property"`
|
||||
}
|
||||
type SubSkuInfosItem struct {
|
||||
// 门店子商品skuid
|
||||
SkuId string `json:"sku_id"`
|
||||
// 外部skuid
|
||||
OuterSkuId string `json:"outer_sku_id"`
|
||||
// SKU的销售属性
|
||||
SalePropertyValues []SalePropertyValuesItem `json:"sale_property_values"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user