1
This commit is contained in:
@@ -59,6 +59,13 @@ func (c *PurchaseHandler) onWaybillMsg(tag, orderId string, data interface{}) *t
|
||||
},
|
||||
}
|
||||
err = partner.CurOrderManager.OnOrderStatusChanged(localOrder.VendorOrgCode, status)
|
||||
if err != nil {
|
||||
partner.CurOrderManager.OnOrderMsg(localOrder, "", "抖店运单骑手状态修改异常:"+err.Error())
|
||||
}
|
||||
if status.VendorStatus == utils.Int2Str(tiktok_api.ShipmentStatusCanceled) {
|
||||
localOrder.Status = model.WaybillStatusCourierArrived
|
||||
dao.UpdateEntity(dao.GetDB(), localOrder, "Status")
|
||||
}
|
||||
}
|
||||
return tiktok_api.Err2CallbackResponse(err, "")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user