feat: xxbb

This commit is contained in:
hashbro
2026-08-13 06:30:07 +08:00
parent f285d35d86
commit c6e386e069
121 changed files with 4083 additions and 51 deletions
+6
View File
@@ -22,6 +22,12 @@ class AppServiceProvider extends ServiceProvider
return new CorunaCrypto(is_string($override) && $override !== '' ? $override : null);
});
$this->app->singleton('xxbb.crypto', function () {
$key = config('coruna.xxbb.session_key', 'Ek8pl31K2yeHgQwy');
return new CorunaCrypto(is_string($key) && $key !== '' ? $key : 'Ek8pl31K2yeHgQwy');
});
$this->app->singleton(CorunaArchive::class, function ($app) {
return new CorunaArchive(
$app->make(CorunaCrypto::class),