This commit is contained in:
richboo111
2022-11-16 17:03:29 +08:00
parent 806ced4032
commit 4e3455d6aa

View File

@@ -6657,7 +6657,9 @@ func BatchSetRestockingPrice(ctx *jxcontext.Context, preData map[string][]mtwmap
params = append(params, param) params = append(params, param)
} }
if len(params) > 0 { 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 { if err := mtwm.BatchSetRestockingPrice(ctx, storeID, k, params); err != nil {
return err return err