|
|
@ -91,3 +91,13 @@ func (b *brand) FindByIds(ctx context.Context, args ArgsBrandFindByIds) (result
|
|
|
|
err = xClient.Call(ctx, "FindByIds", args, &result)
|
|
|
|
err = xClient.Call(ctx, "FindByIds", args, &result)
|
|
|
|
return
|
|
|
|
return
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Export @Title 导出品牌
|
|
|
|
|
|
|
|
func (b *brand) Export(ctx context.Context, name string) (result []BrandItem, err error) {
|
|
|
|
|
|
|
|
xClient, err := client.GetClient(b)
|
|
|
|
|
|
|
|
if err != nil {
|
|
|
|
|
|
|
|
return
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
err = xClient.Call(ctx, "Export", name, &result)
|
|
|
|
|
|
|
|
return
|
|
|
|
|
|
|
|
}
|
|
|
|