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