From 30f5f592f2e4b9c8f4ec72e9bb31c82fd82a32ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Thu, 27 Oct 2022 21:00:41 +0800 Subject: [PATCH] 1 --- business/partner/purchase/tiktok_store/store_sku2_utils.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/business/partner/purchase/tiktok_store/store_sku2_utils.go b/business/partner/purchase/tiktok_store/store_sku2_utils.go index 85216e7ae..9b9c85f54 100644 --- a/business/partner/purchase/tiktok_store/store_sku2_utils.go +++ b/business/partner/purchase/tiktok_store/store_sku2_utils.go @@ -183,8 +183,11 @@ func (p *PurchaseHandler) createOrUpdateStoreSkus(ctx *jxcontext.Context, storeI // 根据本地商品id获取线上商品是否存在,存在则只创建子商品 var tiktokResultProductId int64 = 0 // 获取本地存储映射关系 + globals.SugarLogger.Debugf("=======storeSku.SkuID :%d", storeSku.SkuID) + globals.SugarLogger.Debugf("=======storeSku :%s", utils.Format4Output(storeSku, false)) localThing, err := dao.GetThingToTiktokMapList(dao.GetDB(), model.VendorIDDD, int64(storeSku.SkuID)) globals.SugarLogger.Debugf("=======localThing :%s", utils.Format4Output(localThing, false)) + globals.SugarLogger.Debugf("=======localThing :%s", utils.Format4Output(localThing, false)) globals.SugarLogger.Debugf("localThing=======err :%s", err) if len(localThing) == 0 { // 线上不存在创建 tiktokResult, err := api.CreateStoreCommodity(param) // 创建主商品