修复
This commit is contained in:
@@ -105,11 +105,6 @@ func GetOrderStatusAndLogistics(req GetOrderStatusAndLogisticsReq) (res GetOrder
|
||||
status = constants.STATUS_FONT_SHIPPED
|
||||
//到达-云仓
|
||||
case constants.STATUS_NEW_ARRIVAL:
|
||||
if req.DeliveryMethod == constants.DELIVERY_METHOD_CLOUD {
|
||||
logisticsStatus = constants.LOGISTICS_STATUS_SHIPPING
|
||||
}
|
||||
status = constants.STATUS_FONT_INVENTORY
|
||||
//订单完成
|
||||
case constants.STATUS_NEW_COMPLETED:
|
||||
if req.DeliveryMethod == constants.DELIVERY_METHOD_CLOUD {
|
||||
status = constants.STATUS_FONT_COMPLETED_CLOUD
|
||||
@@ -165,11 +160,7 @@ func GetOrderStatusAndLogistics(req GetOrderStatusAndLogisticsReq) (res GetOrder
|
||||
res.Times = times
|
||||
} else {
|
||||
timesData := times[0:3]
|
||||
if logisticsStatus == constants.LOGISTICS_STATUS_DRAW {
|
||||
timesData[1].Time = format.TimeIntToFormat(req.OrderCtime + req.WebSetTimeInfo.ProductDay*daySecond)
|
||||
}
|
||||
res.Times = timesData
|
||||
}
|
||||
|
||||
return res
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user