1
This commit is contained in:
@@ -190,10 +190,11 @@ func OnWaybillMsg(tag, orderId string, data interface{}) (response *tiktok_api.C
|
||||
VendorOrderID: utils.Int64ToStr(req.ShopOrderID),
|
||||
VendorWaybillID: req.TrackNo,
|
||||
VendorWaybillID2: utils.Int64ToStr(req.AfterSaleID),
|
||||
WaybillVendorID: model.VendorIDDD,
|
||||
WaybillVendorID: model.VendorIDDYPS,
|
||||
OrderVendorID: model.VendorIDDD,
|
||||
CourierName: req.RiderName,
|
||||
CourierMobile: req.RiderPhone,
|
||||
VendorStatus: tiktok_api.ShipmentStatus[req.ShipmentStatus],
|
||||
VendorStatus: utils.Int64ToStr(req.ShipmentStatus),
|
||||
StatusTime: utils.Str2Time(req.OccurredTime),
|
||||
Remark: "",
|
||||
}
|
||||
|
||||
@@ -4,6 +4,8 @@ import (
|
||||
"encoding/json"
|
||||
tiktokShop "git.rosy.net.cn/baseapi/platformapi/tiktok_shop/tiktok_api"
|
||||
"git.rosy.net.cn/baseapi/utils"
|
||||
"git.rosy.net.cn/jx-callback/business/jxutils"
|
||||
"git.rosy.net.cn/jx-callback/business/model"
|
||||
"git.rosy.net.cn/jx-callback/globals"
|
||||
"git.rosy.net.cn/jx-callback/globals/api"
|
||||
"net/http"
|
||||
@@ -36,9 +38,9 @@ func OnOrderMsg(msgId string, msg interface{}) (response *tiktokShop.CallbackRes
|
||||
// return guoYuan
|
||||
//}
|
||||
//}
|
||||
//jxutils.CallMsgHandler(func() {
|
||||
response = CurPurchaseHandler.onOrderMsg(msgId, orderId, msg)
|
||||
//}, jxutils.ComposeUniversalOrderID(orderId, model.VendorIDDD))
|
||||
jxutils.CallMsgHandler(func() {
|
||||
response = CurPurchaseHandler.onOrderMsg(msgId, orderId, msg)
|
||||
}, jxutils.ComposeUniversalOrderID(orderId, model.VendorIDDD))
|
||||
}
|
||||
return response
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user