This commit is contained in:
邹宗楠
2024-11-26 17:12:43 +08:00
parent 350a0150bd
commit f2775269d9
2 changed files with 8 additions and 20 deletions

View File

@@ -332,9 +332,6 @@ func (p *PurchaseHandler) createOrUpdateStoreSkus(ctx *jxcontext.Context, storeI
} else {
syncType = "更新商品"
}
if storeID == 669149 {
globals.SugarLogger.Debugf("---------storeSkuList := %s", utils.Format4Output(storeSkuList, false))
}
for i, storeSku := range storeSkuList {
isNeedUpdatePrice := isCreate //storeSku.SkuSyncStatus&(model.SyncFlagPriceMask|model.SyncFlagNewMask) != 0
foodData := make(map[string]interface{})
@@ -449,9 +446,6 @@ func (p *PurchaseHandler) createOrUpdateStoreSkus(ctx *jxcontext.Context, storeI
}
if storeID == 669149 {
globals.SugarLogger.Debugf("---------foodDataList:%s", utils.Format4Output(foodDataList, false))
}
if globals.EnableMtwmStoreWrite {
if len(foodDataList) == 1 {
foodDataList[0]["skus"] = string(utils.MustMarshal(foodDataList[0]["skus"]))