This commit is contained in:
邹宗楠
2023-11-10 10:58:24 +08:00
parent c9866522f1
commit 382c45297a
4 changed files with 25 additions and 7 deletions

View File

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