1
This commit is contained in:
@@ -201,8 +201,8 @@ func OnWaybillMsg(tag, orderId string, data interface{}) (response *tiktok_api.C
|
|||||||
if req.OccurredTime == "" {
|
if req.OccurredTime == "" {
|
||||||
param.StatusTime = time.Now()
|
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)
|
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 {
|
switch req.ShipmentStatus {
|
||||||
case tiktok_api.ShipmentStatusCalling: //1 骑手呼叫中
|
case tiktok_api.ShipmentStatusCalling: //1 骑手呼叫中
|
||||||
param.DesiredFee = dispatcherFee
|
param.DesiredFee = dispatcherFee
|
||||||
|
|||||||
Reference in New Issue
Block a user