- GoodsOrder.WaybillTipMoney的含义改为京西主动加的小费

- partner.IUpdateWaybillTip改为IAddWaybillTip
This commit is contained in:
gazebo
2019-08-01 18:09:23 +08:00
parent 45948e4b09
commit 1d0aa132f9
6 changed files with 42 additions and 15 deletions

View File

@@ -49,7 +49,7 @@ type IPurchasePlatformOrderHandler interface {
ConfirmReceivedReturnGoods(ctx *jxcontext.Context, order *model.AfsOrder) (err error)
}
type IUpdateWaybillTip interface {
// 添加快递小费这个不是递增的最后一次操作会覆盖之前的设置但只能增加不能减少且tipFee只能为100的倍数
UpdateWaybillTip(ctx *jxcontext.Context, order *model.GoodsOrder, tipFee int64) (err error)
type IAddWaybillTip interface {
GetWaybillTip(ctx *jxcontext.Context, order *model.GoodsOrder) (tipFee int64, err error)
AddWaybillTip(ctx *jxcontext.Context, order *model.GoodsOrder, tipFee2Add int64) (err error)
}