This commit is contained in:
richboo111
2022-12-28 14:13:56 +08:00
parent ddf29400ae
commit 9be1a21033

View File

@@ -201,8 +201,8 @@ func OnWaybillMsg(tag, orderId string, data interface{}) (response *tiktok_api.C
if req.OccurredTime == "" {
param.StatusTime = time.Now()
}
globals.SugarLogger.Debugf("DYPS OnWaybillMsg param============%s", utils.Format4Output(param, false))
dispatcherFee := getDispatcherFee(req.ShopID, utils.Int64ToStr(req.ShopOrderID), tiktok_api.DispatcherFeeTypeCall)
globals.SugarLogger.Debugf("DYPS OnWaybillMsg dispatcherFee=%d req.ShipmentStatus=%d", dispatcherFee, req.ShipmentStatus)
switch req.ShipmentStatus {
case tiktok_api.ShipmentStatusCalling: //1 骑手呼叫中
param.DesiredFee = dispatcherFee