update:修复导出

This commit is contained in:
yanwenwu
2020-09-05 17:12:04 +08:00
parent 3947ba7386
commit 9ec1285cb9
2 changed files with 2 additions and 1 deletions

View File

@@ -64,7 +64,7 @@ class ExportDataCommand extends Command
{
$stub = file_get_contents(dirname(__DIR__) . DIRECTORY_SEPARATOR . 'stubs' . DIRECTORY_SEPARATOR . 'permissionSeed.stub');
file_put_contents(CatchAdmin::moduleSeedsDirectory($module) . 'PermissionSeed.php', str_replace('{DATA}', $data, $stub));
file_put_contents(CatchAdmin::moduleSeedsDirectory($module) . ucfirst($module) . 'PermissionSeed.php', str_replace('{DATA}', $data, $stub));
}
}