From e16ecb35afc1bab4273c203549244d5b6f31014d Mon Sep 17 00:00:00 2001 From: sian Date: Mon, 15 Aug 2022 10:16:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jd/brand.go | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/jd/brand.go b/jd/brand.go index 3ad00d1..b145ac5 100644 --- a/jd/brand.go +++ b/jd/brand.go @@ -48,17 +48,3 @@ func (b *brand) Edit(ctx context.Context, args ArgsBrandEdit) error { } return xClient.Call(ctx, "Edit", args, &reply) } - -type ArgsImport struct { - Name string // 品牌名称 - SupplyBrandId uint // 匹配的品牌Id -} - -func (b *brand) Import(ctx context.Context, args []ArgsImport) error { - reply := 0 - xClient, err := client.GetClient(b) - if err != nil { - return err - } - return xClient.Call(ctx, "Import", args, &reply) -}