This commit is contained in:
邹宗楠
2024-12-31 17:57:30 +08:00
parent 0eff558bf0
commit 446e9b3088
4 changed files with 28 additions and 8 deletions

View File

@@ -454,7 +454,10 @@ func (p *PurchaseHandler) createOrUpdateStoreSkus(ctx *jxcontext.Context, storeI
}
}
if storeID == 20002 {
globals.SugarLogger.Debugf("-----foodDataList := %s", utils.Format4Output(foodDataList, false))
globals.SugarLogger.Debugf("-----storeSku := %s", utils.Format4Output(storeSkuList, false))
}
if globals.EnableMtwmStoreWrite {
if len(foodDataList) == 1 {
foodDataList[0]["skus"] = string(utils.MustMarshal(foodDataList[0]["skus"]))