This commit is contained in:
邹宗楠
2023-10-24 15:20:51 +08:00
parent 70d68a7821
commit 75ad9785f3
3 changed files with 4 additions and 24 deletions

View File

@@ -518,7 +518,6 @@ func (c *PurchaseHandler) PickupGoods(order *model.GoodsOrder, isSelfDelivery bo
for i := 0; i < 3; i++ {
err2 := api.DeliveryFinish(param)
if err2 != nil {
globals.SugarLogger.Debugf("=======err2 := %v", err2)
time.Sleep(200 * time.Millisecond)
err = err2
continue
@@ -530,7 +529,6 @@ func (c *PurchaseHandler) PickupGoods(order *model.GoodsOrder, isSelfDelivery bo
}
}
globals.SugarLogger.Debugf("=======err := %v", err)
return err
}