添加初始化猜你喜欢分区
parent
02f3422077
commit
0f6be1f1ae
|
|
@ -23,6 +23,10 @@ class ProductPartSeeder extends Seeder
|
||||||
'name' => '会员直通车',
|
'name' => '会员直通车',
|
||||||
'is_show' => true,
|
'is_show' => true,
|
||||||
],
|
],
|
||||||
|
'guess'=> [
|
||||||
|
'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