修改接口

finance
杨赟 2 years ago
parent 57901d8bf9
commit 8fa95695d4

@ -7,6 +7,11 @@ import (
"github.com/smallnest/rpcx/share"
)
const (
ReplyOrderFreightFeeErrCodeNone = 0 // 无错误
ReplyOrderFreightFeeErrCodeErr = 1 // 有错误
)
type order struct {
}
type ArgsOrderFreightFee struct {
@ -16,13 +21,14 @@ type ArgsOrderFreightFee struct {
type SkuFreightFeeItem struct {
SkuId uint // skuId
Price decimal.Decimal // 价格
Quantity uint // 数量
}
type ReplyOrderFreightFee struct {
SkuIds []uint `json:"skuIds"`
FreightFee decimal.Decimal `json:"freightFee"`
ErrCode uint `json:"errCode"`
ErrMsg string `json:"errMsg"`
}
// FreightFee @Title 获取运费

Loading…
Cancel
Save