update:修复导出
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user