finance
黄伟 2 years ago
parent f983a9d574
commit 1498fbe37c

@ -48,3 +48,13 @@ func (b *brand) Edit(ctx context.Context, args ArgsBrandEdit) error {
} }
return xClient.Call(ctx, "Edit", args, &reply) return xClient.Call(ctx, "Edit", args, &reply)
} }
// FindBrandByName @Title 根据品牌名称获取全部品牌
func (b *brand) FindBrandByName(ctx context.Context, name string) (reply []BrandItem, err error) {
xClient, err := client.GetClient(b)
if err != nil {
return nil, err
}
err = xClient.Call(ctx, "FindBrandByName", name, &reply)
return
}

Loading…
Cancel
Save