diff --git a/business/partner/purchase/tiktok_store/store_sku2_utils.go b/business/partner/purchase/tiktok_store/store_sku2_utils.go index 0b7a085bd..76a9b07e4 100644 --- a/business/partner/purchase/tiktok_store/store_sku2_utils.go +++ b/business/partner/purchase/tiktok_store/store_sku2_utils.go @@ -307,6 +307,7 @@ func (p *PurchaseHandler) createOrUpdateStoreSkus(ctx *jxcontext.Context, storeI updateParam.SpecPrices = param.SpecPrices //updateParam.StoreId = utils.Str2Int64(vendorStoreID) err := api.EditStoreCommodity(updateParam) + globals.SugarLogger.Debugf("=====EditStoreCommodity====== %s", err.Error()) if err != nil { failedList = putils.GetErrMsg2FailedSingleList(storeSkuList, err, storeID, model.VendorChineseNames[model.VendorIDDD], syncType) storeSku.VendorSkuID = utils.Int2Str(storeSku.SkuID) @@ -316,8 +317,7 @@ func (p *PurchaseHandler) createOrUpdateStoreSkus(ctx *jxcontext.Context, storeI // localThing[0].ThingType = model.ThingTypeSku // dao.UpdateThingMap(localThing[0]) //} - globals.SugarLogger.Debugf("=====EditStoreCommodity====== %s", err.Error()) - globals.SugarLogger.Debugf("=====EditStoreCommodity====== %s", updateParam) + globals.SugarLogger.Debugf("=====EditStoreCommodity====== %s", utils.Format4Output(updateParam, false)) continue } }