饿百订单自动拣货时间设置
This commit is contained in:
@@ -24,7 +24,7 @@ import (
|
||||
const (
|
||||
// acceptOrderDelay = 180 * time.Second
|
||||
// pickupOrderDelay = 260 * time.Second
|
||||
pickupOrderDelay = 1 * time.Second
|
||||
pickupOrderDelay = 1 * time.Minute
|
||||
|
||||
callDeliveryDelay = 10 * time.Minute
|
||||
callDeliveryDelayGap = 30
|
||||
@@ -357,7 +357,8 @@ func (p *PurchaseHandler) PickupGoods(order *model.GoodsOrder, isSelfDelivery bo
|
||||
globals.SugarLogger.Debugf("ebai PickupGoods orderID:%s, isSelfDelivery:%t", order.VendorOrderID, isSelfDelivery)
|
||||
if globals.EnableEbaiStoreWrite {
|
||||
err = api.EbaiAPI.OrderPickComplete(order.VendorOrderID)
|
||||
} else {
|
||||
}
|
||||
if err == nil {
|
||||
p.postFakeMsg(order.VendorOrderID, ebaiapi.OrderStatusAccepted)
|
||||
}
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user