This commit is contained in:
邹宗楠
2025-07-30 10:22:37 +08:00
parent 393779fba5
commit 40c1a73751
3 changed files with 31 additions and 4 deletions

View File

@@ -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"`
}