This commit is contained in:
richboo111
2023-06-29 09:19:05 +08:00
parent cf51eda4d5
commit 7373f78fd7
10 changed files with 150 additions and 26 deletions

View File

@@ -3,11 +3,12 @@ package delivery
import (
"crypto/rand"
"fmt"
"math/big"
"time"
"git.rosy.net.cn/baseapi/platformapi/tao_vegetable"
"git.rosy.net.cn/jx-callback/business/jxutils"
"git.rosy.net.cn/jx-callback/globals/api"
"math/big"
"time"
"git.rosy.net.cn/baseapi"
"git.rosy.net.cn/baseapi/platformapi/mtwmapi"
@@ -232,7 +233,7 @@ func GetOrderRiderInfoToPlatform(orderId string, wayBillStatus int) {
} else { // 订单状态改变 [配送中/用户签收/用户拒收]
param := utilsTao.OrderStatusChangeDelivery(&v.GoodsOrder, taoDeliveryStatus)
if err := api.TaoVegetableApi.DeliveryFinish(param); err != nil {
globals.SugarLogger.Debugf("淘达运单状态推送错误运单状态[%s],错误:%s", taoDeliveryStatus, err.Error())
globals.SugarLogger.Debugf("淘达运单状态推送错误运单状态[%s],错误:%s", taoDeliveryStatus, err.Error())
}
}
default: