|
|
@ -29,6 +29,10 @@ const (
|
|
|
|
|
|
|
|
|
|
|
|
OrderSubIsSplitFalse = 1 // 无
|
|
|
|
OrderSubIsSplitFalse = 1 // 无
|
|
|
|
OrderSubIsSplitTrue = 2 // 被拆单
|
|
|
|
OrderSubIsSplitTrue = 2 // 被拆单
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
OrderSubTypeApi = 1 // api接口下单
|
|
|
|
|
|
|
|
OrderSubTypeCustomerWeb = 2 // 客户商城下单
|
|
|
|
|
|
|
|
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
type order struct {
|
|
|
|
type order struct {
|
|
|
@ -73,6 +77,7 @@ type ArgsOrderSubmit struct {
|
|
|
|
OrderFee decimal.Decimal // 订单金额-不含运费
|
|
|
|
OrderFee decimal.Decimal // 订单金额-不含运费
|
|
|
|
FreightFees []OrderFreightFee // 运费
|
|
|
|
FreightFees []OrderFreightFee // 运费
|
|
|
|
UserIp string // 下单用户ip
|
|
|
|
UserIp string // 下单用户ip
|
|
|
|
|
|
|
|
Type uint // 下单方式
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type OrderFreightFee struct {
|
|
|
|
type OrderFreightFee struct {
|
|
|
|