修改配送费修改
This commit is contained in:
@@ -30,7 +30,12 @@ import (
|
|||||||
"github.com/astaxie/beego/orm"
|
"github.com/astaxie/beego/orm"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
var (
|
||||||
|
orderNoBeginTimestamp int64
|
||||||
|
)
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
|
orderNoBeginTimestamp = utils.Str2Time("2010-01-01 00:00:00").Unix()
|
||||||
}
|
}
|
||||||
|
|
||||||
type tSkuCountPrice struct {
|
type tSkuCountPrice struct {
|
||||||
@@ -1756,7 +1761,7 @@ func UpdateWaybillDesiredFee(ctx *jxcontext.Context, vendorOrderID string, desir
|
|||||||
waybill := &model.Waybill{
|
waybill := &model.Waybill{
|
||||||
VendorOrderID: order.VendorOrderID,
|
VendorOrderID: order.VendorOrderID,
|
||||||
OrderVendorID: order.VendorID,
|
OrderVendorID: order.VendorID,
|
||||||
VendorWaybillID: GenOrderNo(ctx),
|
VendorWaybillID: utils.Int64ToStr(GenOrderNo(ctx)),
|
||||||
WaybillVendorID: -1,
|
WaybillVendorID: -1,
|
||||||
Status: model.WaybillStatusDelivered,
|
Status: model.WaybillStatusDelivered,
|
||||||
WaybillCreatedAt: time.Now(),
|
WaybillCreatedAt: time.Now(),
|
||||||
|
|||||||
Reference in New Issue
Block a user