|
|
@ -7,7 +7,7 @@ import (
|
|
|
|
|
|
|
|
|
|
|
|
type OrderInterface interface {
|
|
|
|
type OrderInterface interface {
|
|
|
|
// FreightFee 获取运费
|
|
|
|
// FreightFee 获取运费
|
|
|
|
FreightFee(ctx context.Context, args ArgsOrderFreightFee, freightFee *decimal.Decimal) error
|
|
|
|
FreightFee(ctx context.Context, args ArgsOrderFreightFee, freightFee *ReplyOrderFreightFee) error
|
|
|
|
// Submit 下单
|
|
|
|
// Submit 下单
|
|
|
|
Submit(ctx context.Context, args ArgsOrderSubmit, sourceOrderSn *string) error
|
|
|
|
Submit(ctx context.Context, args ArgsOrderSubmit, sourceOrderSn *string) error
|
|
|
|
// LadingBill @Title 提单
|
|
|
|
// LadingBill @Title 提单
|
|
|
@ -21,6 +21,10 @@ type ArgsOrderFreightFee struct {
|
|
|
|
Skus []OrderFreightFeeSkuItem // 商品信息
|
|
|
|
Skus []OrderFreightFeeSkuItem // 商品信息
|
|
|
|
Address string // 地址
|
|
|
|
Address string // 地址
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
type ReplyOrderFreightFee struct {
|
|
|
|
|
|
|
|
FreightFee decimal.Decimal // 运费
|
|
|
|
|
|
|
|
ErrMsg string // 错误信息
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type OrderFreightFeeSkuItem struct {
|
|
|
|
type OrderFreightFeeSkuItem struct {
|
|
|
|
SourceSkuId string // 源skuId
|
|
|
|
SourceSkuId string // 源skuId
|
|
|
|