This commit is contained in:
richboo111
2022-12-28 11:27:10 +08:00
parent ca84e4b5ad
commit 9272233bac
2 changed files with 8 additions and 5 deletions

View File

@@ -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
}