From 4e3455d6aaff50ade2158321e89cd4e2ad75019c Mon Sep 17 00:00:00 2001 From: richboo111 Date: Wed, 16 Nov 2022 17:03:29 +0800 Subject: [PATCH] mt price --- business/jxstore/cms/store_sku.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/business/jxstore/cms/store_sku.go b/business/jxstore/cms/store_sku.go index 99b453a2d..6f6ba53c9 100644 --- a/business/jxstore/cms/store_sku.go +++ b/business/jxstore/cms/store_sku.go @@ -6657,7 +6657,9 @@ func BatchSetRestockingPrice(ctx *jxcontext.Context, preData map[string][]mtwmap params = append(params, param) } if len(params) > 0 { - globals.SugarLogger.Debugf("params=========%s %s %s", params[0].AppSpuCode, params[0].PurchasePrice, params[0].SkuID) + for _, v := range params { + globals.SugarLogger.Debugf("params=========%s %s %s", v.AppSpuCode, v.PurchasePrice, v.SkuID) + } } if err := mtwm.BatchSetRestockingPrice(ctx, storeID, k, params); err != nil { return err