From f95bd8835e6d34f72a9f1b35118d8fc9c21857c3 Mon Sep 17 00:00:00 2001 From: kanade Date: Mon, 1 Aug 2022 17:03:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=BF=94=E5=9B=9E=E6=95=B0?= =?UTF-8?q?=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jd/sku.go | 8 ++++++++ 1 file changed, 8 insertions(+) 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"`