This commit is contained in:
邹宗楠
2023-07-11 13:47:50 +08:00
parent 6deada8e0b
commit 969e26af02
7 changed files with 41 additions and 25 deletions

View File

@@ -2,6 +2,8 @@ package uupt
import (
"fmt"
tao "git.rosy.net.cn/baseapi/platformapi/tao_vegetable"
"git.rosy.net.cn/jx-callback/business/partner/purchase/tao_vegetable"
"strings"
"time"
@@ -386,6 +388,9 @@ func OnWaybillMsg(req *uuptapi.WaybillCallbackParam) (resp *uuptapi.CallbackResp
tiktokStatusPush(param, req.State)
case model.VendorIDMTWM, model.VendorIDTaoVegetable:
delivery.GetOrderRiderInfoToPlatform(param.VendorOrderID, param.Status) // 骑手位置更新
if good.VendorID == model.VendorIDTaoVegetable && req.State == uuptapi.StateRMGrabsOrder {
tao_vegetable.PushDelivererChangeInfo(good, param, tao.TaoDeliveryTypeOther)
}
}
return uuptapi.Err2CallbackResponse(nil)
}