From ffd52da52d1a235cda6573ce7b7f7fa26b267a4e Mon Sep 17 00:00:00 2001 From: sian Date: Thu, 11 Aug 2022 14:22:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=88=E5=B9=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- supply/brand.go | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/supply/brand.go b/supply/brand.go index d4516ff..150824c 100644 --- a/supply/brand.go +++ b/supply/brand.go @@ -91,3 +91,13 @@ func (b *brand) FindByIds(ctx context.Context, args ArgsBrandFindByIds) (result err = xClient.Call(ctx, "FindByIds", args, &result) return } + +// Export @Title 导出品牌 +func (b *brand) Export(ctx context.Context, name string) (result []BrandItem, err error) { + xClient, err := client.GetClient(b) + if err != nil { + return + } + err = xClient.Call(ctx, "FindByIds", name, &result) + return +}