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