This commit is contained in:
邹宗楠
2022-12-16 18:52:36 +08:00
parent 2c1f4c4b21
commit edde0d7f3e
2 changed files with 3 additions and 10 deletions

View File

@@ -16,8 +16,7 @@ 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, err := api.TiktokStore.GetCallbackOrderId(msgId, msg)
globals.SugarLogger.Debugf("====== %s %d %s", orderId, shopId, utils.Format4Output(err, false))
orderId, shopId, _ := api.TiktokStore.GetCallbackOrderId(msgId, msg)
if shopId != 0 {
//storeDetail, err := dao.GetStoreDetailByVendorStoreID(dao.GetDB(), utils.Int64ToStr(shopId), model.VendorIDDD, "")
//globals.SugarLogger.Debugf("==storeDetail=: %s", utils.Format4Output(storeDetail, false))