1
This commit is contained in:
@@ -11,7 +11,6 @@ import (
|
||||
func OnOrderMsg(msgId string, msg interface{}) (response *tiktokShop.CallbackResponse) {
|
||||
if CurPurchaseHandler != nil {
|
||||
orderId, _ := api.TiktokStore.GetCallbackOrderId(msgId, msg)
|
||||
|
||||
jxutils.CallMsgHandler(func() {
|
||||
response = CurPurchaseHandler.onOrderMsg(msgId, orderId, msg)
|
||||
}, jxutils.ComposeUniversalOrderID(orderId, model.VendorIDDD))
|
||||
|
||||
@@ -255,6 +255,7 @@ func getSkuWeight(product map[string]interface{}) (weight int) {
|
||||
}
|
||||
|
||||
func (c *PurchaseHandler) onOrderMsg(msgId, orderId string, msg interface{}) (response *tiktokShop.CallbackResponse) {
|
||||
globals.SugarLogger.Debugf("=========================Msg := %s", utils.Format4Output(msg, false))
|
||||
var err error
|
||||
// 处理售后单
|
||||
if c.isAfsMsg(msgId) {
|
||||
|
||||
Reference in New Issue
Block a user