finance
黄伟 2 years ago
parent 0e713dfadc
commit e9ae0f860c

@ -73,6 +73,16 @@ func (b *brand) Add(ctx context.Context, args ArgsBrandAdd) (err error) {
return xClient.Call(ctx, "Add", args, &reply) return xClient.Call(ctx, "Add", args, &reply)
} }
// Adds @Title 添加品牌
func (b *brand) Adds(ctx context.Context, brandNames []string) (err error) {
reply := 0
xClient, err := client.GetClient(b)
if err != nil {
return err
}
return xClient.Call(ctx, "Adds", brandNames, &reply)
}
type ArgsBrandEdit struct { type ArgsBrandEdit struct {
BrandId uint // 品牌id BrandId uint // 品牌id
Name string // 品牌名称 Name string // 品牌名称

Loading…
Cancel
Save