- fixed not initialize waybills in WatchOrderInfo.

This commit is contained in:
gazebo
2018-07-31 09:33:48 +08:00
parent 8496a745c0
commit a83e17dd34

View File

@@ -65,6 +65,7 @@ func NewWatchOrderInfo(order *model.GoodsOrder) (retVal *WatchOrderInfo) {
isNeedAutoPickup: true,
isNeed3rdDelivery: false,
storeDeliveryType: scheduler.StoreDeliveryTypeCrowdSourcing,
waybills: map[int]*model.Waybill{},
}
retVal.SetOrder(order)
return retVal