1
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user