diff --git a/supply/brand.go b/supply/brand.go index 436e0eb..8ac4215 100644 --- a/supply/brand.go +++ b/supply/brand.go @@ -49,13 +49,13 @@ 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) { +// FindByNameAll @Title 品牌名称筛选品牌 +func (b *brand) FindByNameAll(ctx context.Context, name string) (result []BrandItem, err error) { xClient, err := client.GetClient(b) if err != nil { return } - err = xClient.Call(ctx, "All2", name, &result) + err = xClient.Call(ctx, "FindByNameAll", name, &result) return }