1
This commit is contained in:
@@ -84,6 +84,7 @@ func GetOrderRiderInfoToPlatform(orderId string, wayBillStatus int) {
|
||||
}
|
||||
|
||||
riderInfo.ThirdCarrierOrderId = v.VendorWaybillID
|
||||
globals.SugarLogger.Debugf("=============================caoniam= %s", utils.Format4Output(riderInfo, false))
|
||||
switch riderInfo.LogisticsStatus {
|
||||
case 5: // 呼叫骑手
|
||||
riderInfo.LogisticsStatus = 0
|
||||
|
||||
@@ -188,6 +188,8 @@ func (p *PurchaseHandler) getOrder(vendorOrgCode, vendorOrderID, vendorStoreID s
|
||||
|
||||
latestReceiptTime := order.ExpectedDeliveredTime
|
||||
h, m, _ := latestReceiptTime.Clock()
|
||||
globals.SugarLogger.Debugf("===========latestReceiptTime %s,---%d", latestReceiptTime, latestReceiptTime.Day())
|
||||
globals.SugarLogger.Debugf("===========latestReceiptTime %d%d", h, m)
|
||||
if latestReceiptTime.Day() == time.Now().Day() && utils.Str2Int16(fmt.Sprintf("%d%d", h, m)) >= openTime && utils.Str2Int16(fmt.Sprintf("%d%d", h, m)) < closeTime && localStore.Status == model.StoreStatusOpened {
|
||||
order.BusinessType = model.BusinessTypeDingshida
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user