订单详情
This commit is contained in:
@@ -21,12 +21,19 @@ class StoreOrderItemModelFactory extends Factory
|
||||
'order_id' => 0,
|
||||
'store_id' => 0,
|
||||
'product_id' => 0,
|
||||
'category_id' => 0,
|
||||
'supplier_id' => 0,
|
||||
'product_name' => '测试商品',
|
||||
'product_spec' => '500g/袋',
|
||||
'unit' => '斤',
|
||||
'price' => number_format(random_int(100, 5000) / 100, 2, '.', ''),
|
||||
'image_ids' => '',
|
||||
'content' => '',
|
||||
'shelf_life' => 0,
|
||||
'quantity' => number_format(random_int(100, 10000) / 100, 2, '.', ''),
|
||||
'weight' => 0,
|
||||
'amount' => 0,
|
||||
'cost_price' => 0,
|
||||
'remark' => '',
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user