From c43960d9c86c81450d15bfb0cbe49bd1e21a26cc Mon Sep 17 00:00:00 2001 From: sian Date: Fri, 12 Aug 2022 15:16:07 +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 --- supply/brand.go | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/supply/brand.go b/supply/brand.go index d4516ff..e804eec 100644 --- a/supply/brand.go +++ b/supply/brand.go @@ -49,6 +49,16 @@ func (b *brand) All(ctx context.Context) (result []BrandItem, err error) { return } +// All2 @Title 品牌名称筛选品牌 +func (b *brand) All2(ctx context.Context, name string) (result []BrandItem, err error) { + xClient, err := client.GetClient(b) + if err != nil { + return + } + err = xClient.Call(ctx, "All2", 0, &result) + return +} + type ArgsBrandAdd struct { Name string // 品牌名称 }