|
|
@ -80,13 +80,13 @@ func (i *item) DelAll(ctx context.Context, skuTypeId uint) error {
|
|
|
|
return xClient.Call(ctx, "DelAll", skuTypeId, &reply)
|
|
|
|
return xClient.Call(ctx, "DelAll", skuTypeId, &reply)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type ArgsBySKuIds struct {
|
|
|
|
type ArgsBySkuIds struct {
|
|
|
|
SkuIds []uint
|
|
|
|
SkuIds []uint
|
|
|
|
SkuTypeId uint
|
|
|
|
SkuTypeId uint
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// FindBySkuIds @Title 根据SkuId查询数据
|
|
|
|
// FindBySkuIds @Title 根据SkuId查询数据
|
|
|
|
func (i *item) FindBySkuIds(ctx context.Context, args ArgsBySKuIds) (reply []SkuItem, err error) {
|
|
|
|
func (i *item) FindBySkuIds(ctx context.Context, args ArgsBySkuIds) (reply []SkuItem, err error) {
|
|
|
|
xClient, err := client.GetClient(i)
|
|
|
|
xClient, err := client.GetClient(i)
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
return nil, err
|
|
|
|