finance
黄伟 2 years ago
parent f68613e066
commit 6fc1826e4d

@ -49,13 +49,13 @@ func (b *brand) All(ctx context.Context) (result []BrandItem, err error) {
return return
} }
// All2 @Title 品牌名称筛选品牌 // FindByNameAll @Title 品牌名称筛选品牌
func (b *brand) All2(ctx context.Context, name string) (result []BrandItem, err error) { func (b *brand) FindByNameAll(ctx context.Context, name string) (result []BrandItem, err error) {
xClient, err := client.GetClient(b) xClient, err := client.GetClient(b)
if err != nil { if err != nil {
return return
} }
err = xClient.Call(ctx, "All2", name, &result) err = xClient.Call(ctx, "FindByNameAll", name, &result)
return return
} }

Loading…
Cancel
Save