添加初始化商品分区
parent
c3e2d628ff
commit
ccc94b75ff
|
|
@ -19,6 +19,10 @@ class ProductPartSeeder extends Seeder
|
||||||
'name' => '精品推荐',
|
'name' => '精品推荐',
|
||||||
'is_show' => true,
|
'is_show' => true,
|
||||||
],
|
],
|
||||||
|
'vip' => [
|
||||||
|
'name' => '会员直通车',
|
||||||
|
'is_show' => true,
|
||||||
|
],
|
||||||
] as $key => $values) {
|
] as $key => $values) {
|
||||||
ProductPart::firstOrCreate(['key' => $key], $values);
|
ProductPart::firstOrCreate(['key' => $key], $values);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue