finance
黄伟 2 years ago
parent 2bef815b03
commit e16ecb35af

@ -48,17 +48,3 @@ func (b *brand) Edit(ctx context.Context, args ArgsBrandEdit) error {
}
return xClient.Call(ctx, "Edit", args, &reply)
}
type ArgsImport struct {
Name string // 品牌名称
SupplyBrandId uint // 匹配的品牌Id
}
func (b *brand) Import(ctx context.Context, args []ArgsImport) error {
reply := 0
xClient, err := client.GetClient(b)
if err != nil {
return err
}
return xClient.Call(ctx, "Import", args, &reply)
}

Loading…
Cancel
Save