From 99dba8bedebc28d52ef0a3b80e5d3131c6c8284a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Fri, 16 Dec 2022 18:23:00 +0800 Subject: [PATCH] 1 --- business/partner/purchase/tiktok_store/callback.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/business/partner/purchase/tiktok_store/callback.go b/business/partner/purchase/tiktok_store/callback.go index af12c860e..01c4e3e16 100644 --- a/business/partner/purchase/tiktok_store/callback.go +++ b/business/partner/purchase/tiktok_store/callback.go @@ -16,7 +16,8 @@ import ( func OnOrderMsg(msgId string, msg interface{}) (response *tiktokShop.CallbackResponse) { globals.SugarLogger.Debugf("GetCallbackOrderId tiktok msg %s", utils.Format4Output(msg, false)) if CurPurchaseHandler != nil { - orderId, shopId, _ := api.TiktokStore.GetCallbackOrderId(msgId, msg) + orderId, shopId, err := api.TiktokStore.GetCallbackOrderId(msgId, msg) + globals.SugarLogger.Debugf("====== %s %d %s", orderId, shopId, utils.Format4Output(err, false)) if shopId != 0 { //storeDetail, err := dao.GetStoreDetailByVendorStoreID(dao.GetDB(), utils.Int64ToStr(shopId), model.VendorIDDD, "") //globals.SugarLogger.Debugf("==storeDetail=: %s", utils.Format4Output(storeDetail, false))