This commit is contained in:
邹宗楠
2023-11-02 16:57:36 +08:00
parent 7d65cc5a46
commit 0a89f42340

View File

@@ -439,6 +439,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"]))