diff --git a/jd/sku.go b/jd/sku.go index 4b6776d..e905ef3 100644 --- a/jd/sku.go +++ b/jd/sku.go @@ -51,6 +51,8 @@ type SkuItem struct { Profit decimal.Decimal `json:"profit"` Status uint `json:"status"` Handle uint `json:"handle"` + SupplyCategoryId uint `json:"supplyCategoryId"` + SupplyBrandId uint `json:"supplyBrandId"` } type ReplySkuList struct { Lists []SkuItem `json:"lists"` @@ -63,6 +65,12 @@ func (s *sku) Lists(ctx context.Context, args ArgsSkuList) (reply ReplySkuList, return } +// Start @Title 开始处理 +func (s *sku) Start(ctx context.Context, skuIds []uint) error { + reply := 0 + return client.GetClient(s).Call(ctx, "Start", skuIds, &reply) +} + type ReplySkuInfo struct { Id uint `json:"id"` Name string `json:"name"`