finance
黄伟 2 years ago
parent f68613e066
commit 6fc1826e4d

@ -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
}

Loading…
Cancel
Save