This commit is contained in:
邹宗楠
2022-10-24 15:29:56 +08:00
parent b751c94424
commit 1a408d6145

View File

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