'2',// 类型[1=平台,2=商城] 'pid' => '32', 'title' => '商品说明', 'route' => 'mall/goods/description-template', 'icon' => '', 'authItemChild' => [] ], ]; Menu::migrateCreateMenu($data); } /** * {@inheritdoc} */ public function safeDown() { return false; } /* // Use up()/down() to run migration code without a transaction. public function up() { } public function down() { echo "M250709092644CreateGoodsDescriptionMenu cannot be reverted.\n"; return false; } */ }