This commit is contained in:
邹宗楠
2023-07-21 18:50:10 +08:00
parent 979713f17e
commit 2ed3abf118
2 changed files with 2 additions and 2 deletions

View File

@@ -749,7 +749,6 @@ func syncStoreSkuTao(beijin []int) {
case 0:
if beego.BConfig.RunMode != "jxgy" {
_, err = cms.CurVendorSync.SyncStoresSkus2(jxcontext.AdminCtx, nil, 0, db, []int{model.VendorIDTaoVegetable}, beijin[SyncLen:SyncLen+5], false, nil, nil, syncFlag, true, true)
SyncLen += 5
errList.AddErr(err)
}
case 1:
@@ -760,6 +759,7 @@ func syncStoreSkuTao(beijin []int) {
return retVal, err
}, []int{0, 1})
tasksch.HandleTask(task, nil, true).Run()
SyncLen += 5
}
func doDailyWork2() {

View File

@@ -399,7 +399,7 @@ func (p *PurchaseHandler) Swtich2SelfDeliver(order *model.GoodsOrder, userName s
err = nil
case ebaiapi.WaybillStatusDeliveryCancled:
p.trySyncCancelStatus(order.VendorOrderID)
case ebaiapi.WaybillStatusNew, ebaiapi.WaybillStatusRequestDelivery, ebaiapi.WaybillStatusWait4Courier:
case ebaiapi.WaybillStatusNew, ebaiapi.WaybillStatusEvent, ebaiapi.WaybillStatusRequestDelivery, ebaiapi.WaybillStatusWait4Courier:
err = api.EbaiAPI.OrderCancelDelivery(order.VendorOrderID) // 取消呼叫众包骑手
case ebaiapi.WaybillStatusCourierAccepted:
err = errors.New("骑手已接单,无法转自送")