|
|
|
@ -223,20 +223,3 @@ func (s *sku) DownShelves(ctx context.Context, args ArgsSkuDownShelves) error {
|
|
|
|
|
}
|
|
|
|
|
return xClient.Call(ctx, "DownShelves", args, &reply)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type ArgsSkuAdjustType struct {
|
|
|
|
|
SkuId uint
|
|
|
|
|
AdjustType uint
|
|
|
|
|
AdjustPrice decimal.Decimal
|
|
|
|
|
ApplyUserId uint
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// EditAdjust @Title 修改改价类型
|
|
|
|
|
func (s *sku) EditAdjust(ctx context.Context, args ArgsSkuAdjustType) error {
|
|
|
|
|
reply := 0
|
|
|
|
|
xClient, err := client.GetClient(s)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return err
|
|
|
|
|
}
|
|
|
|
|
return xClient.Call(ctx, "EditAdjust", args, &reply)
|
|
|
|
|
}
|
|
|
|
|