This commit is contained in:
邹宗楠
2022-10-24 15:47:43 +08:00
parent 71397c6d03
commit ae6f93f697
3 changed files with 9 additions and 2 deletions

View File

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