|
|
@ -90,3 +90,13 @@ func (s *sale) DelAll(ctx context.Context) error {
|
|
|
|
reply := 0
|
|
|
|
reply := 0
|
|
|
|
return xClient.Call(ctx, "DelAll", args, &reply)
|
|
|
|
return xClient.Call(ctx, "DelAll", args, &reply)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// FindBySkuIds @Title 根据SkuId查询数据
|
|
|
|
|
|
|
|
func (s *sale) FindBySkuIds(ctx context.Context, skuIds []uint) (reply []SaleSkuItem, err error) {
|
|
|
|
|
|
|
|
xClient, err := client.GetClient(s)
|
|
|
|
|
|
|
|
if err != nil {
|
|
|
|
|
|
|
|
return nil, err
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
err = xClient.Call(ctx, "FindBySkuIds", skuIds, &reply)
|
|
|
|
|
|
|
|
return
|
|
|
|
|
|
|
|
}
|
|
|
|