finance
黄伟 2 years ago
parent 564199bc04
commit ebbd5504b3

@ -198,3 +198,17 @@ func (g *goods) FindBySkuIds(ctx context.Context, skuIds []uint) (reply []ReplyB
err = xClient.Call(ctx, "FindBySkuIds", skuIds, &reply) err = xClient.Call(ctx, "FindBySkuIds", skuIds, &reply)
return return
} }
type ArgsBatchGoodsChange struct {
GoodsIds []uint // 商品id
}
// Change @Title 商品信息变动
func (g *goods) Change(ctx context.Context, args ArgsBatchGoodsChange) (err error) {
xClient, err := client.GetClient(g)
if err != nil {
return err
}
reply := 0
return xClient.Call(ctx, "Change", args, &reply)
}

Loading…
Cancel
Save