This commit is contained in:
邹宗楠
2023-01-09 11:33:59 +08:00
parent 076d66c227
commit a479963d21
3 changed files with 1 additions and 3 deletions

View File

@@ -426,6 +426,7 @@ func updateStoreSku(db *dao.DaoDB, vendorID int, storeSkuList []*dao.StoreSkuSyn
} else {
updateItemList := make([]*dao.KVUpdateItem, len(storeSkuList))
for k, v := range storeSkuList {
globals.SugarLogger.Debugf("======skusyncStatus %s", utils.Format4Output(v, false))
updateItemList[k] = sku2Update(vendorID, v, syncStatus)
}
globals.SugarLogger.Debugf("========updateItemList=== %s", utils.Format4Output(updateItemList, false))
@@ -435,7 +436,6 @@ func updateStoreSku(db *dao.DaoDB, vendorID int, storeSkuList []*dao.StoreSkuSyn
}
}
}
globals.SugarLogger.Debugf("=========updateItemList===num-- %d,%s", num, err.Error())
return num, err
}

View File

@@ -175,7 +175,6 @@ func (p *PurchaseHandler) UpdateStoreSkusPrice(ctx *jxcontext.Context, vendorOrg
if len(failedList) > 0 {
return failedList, err
}
globals.SugarLogger.Debugf("====SkuId:= %d,ProductId := %d ", tiktokSkuId, utils.Str2Int64(v.VendorMainId))
price := &sku_editPrice_request.SkuEditPriceParam{
Price: v.VendorPrice,
SkuId: tiktokSkuId,

View File

@@ -598,7 +598,6 @@ func getProductSkuId4UpdateStock(api *tiktokShop.API, skuInfo *partner.StoreSkuI
}
}
globals.SugarLogger.Debugf("=GetSkuDetail By childrenSku %s", utils.Format4Output(childrenSku, false))
for _, v := range childrenSku.SpecPrices {
tiktokSkuId = v.SkuId
skuInfo.VendorSonSkuID = utils.Int64ToStr(v.SkuId)