1
This commit is contained in:
@@ -503,15 +503,19 @@ func UpdateFakeWayBillToTiktok() {
|
||||
partner.CurOrderManager.OnOrderMsg(order, tao_vegetable.OrderStatusDelivery, "订单配送中")
|
||||
}
|
||||
|
||||
if order.VendorID == model.VendorIDEBAI {
|
||||
ebai.OrderDeliveryCoordinate(utils.Struct2Map(riderInfo, "", true))
|
||||
} else if order.VendorID == model.VendorIDJD {
|
||||
jd.OrderDeliveryCoordinate(order.VendorOrgCode, utils.Struct2Map(riderInfo, "", true))
|
||||
}
|
||||
|
||||
// 还没到下一状态时间
|
||||
if fakeWayBill[i].StatusTime.After(time.Now()) {
|
||||
continue
|
||||
}
|
||||
|
||||
}
|
||||
if order.VendorID == model.VendorIDEBAI {
|
||||
ebai.OrderDeliveryCoordinate(utils.Struct2Map(riderInfo, "", true))
|
||||
}
|
||||
|
||||
//
|
||||
//allTime := order.ExpectedDeliveredTime.Unix() - order.OrderCreatedAt.Unix()
|
||||
//nowTime := time.Now().Unix() - order.OrderCreatedAt.Unix()
|
||||
|
||||
Reference in New Issue
Block a user