价格增加百分比上浮
This commit is contained in:
@@ -24,6 +24,8 @@ class ProductPriceModelFactory extends Factory
|
||||
'product_id' => 0,
|
||||
'level_id' => 0,
|
||||
'price' => number_format(random_int(100, 10000) / 100 + $seq * 0.01, 2, '.', ''),
|
||||
'price_type' => ProductPriceModel::PRICE_TYPE_FIXED,
|
||||
'percent' => 0,
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user