1
This commit is contained in:
@@ -1133,13 +1133,13 @@ func (s *DefScheduler) resetTimer(savedOrderInfo *WatchOrderInfo, bill *model.Wa
|
||||
if timeout == 0 {
|
||||
config.CallTimeoutAction(savedOrderInfo, bill)
|
||||
} else {
|
||||
timerName := ""
|
||||
if statusType == model.OrderTypeOrder {
|
||||
timerName = model.OrderStatusName[status]
|
||||
} else if statusType == model.OrderTypeWaybill {
|
||||
timerName = model.WaybillStatusName[status]
|
||||
}
|
||||
globals.SugarLogger.Debugf("timerName %s", timerName)
|
||||
//timerName := ""
|
||||
//if statusType == model.OrderTypeOrder {
|
||||
// timerName = model.OrderStatusName[status]
|
||||
//} else if statusType == model.OrderTypeWaybill {
|
||||
// timerName = model.WaybillStatusName[status]
|
||||
//}
|
||||
//globals.SugarLogger.Debugf("timerName %s", timerName)
|
||||
timerInfo := &tTimerInfo{
|
||||
statusType: statusType,
|
||||
vendorID: vendorID,
|
||||
|
||||
Reference in New Issue
Block a user