<?php

return [
    'api_url' => rtrim((string) env('GAME_API_URL', 'https://ap.api-bet.net'), '/'),
    'sn' => trim((string) env('GAME_SN', '')),
    'key' => trim((string) env('GAME_KEY', '')),
    'proxy' => trim((string) env('GAME_PROXY', '')),
    'ca_bundle' => trim((string) env('GAME_CA_BUNDLE', '')),
    'currency' => trim((string) env('GAME_CURRENCY', 'CNY')),
    'timeout' => (int) env('GAME_TIMEOUT', 10),
    'transfer_timeout' => (int) env('GAME_TRANSFER_TIMEOUT', 65),
    'cache_seconds' => (int) env('GAME_BALANCE_CACHE_SECONDS', 30),
    // 仅用于旧比例余额迁移时，将 transferAll 返回的游戏分换算为主钱包金额。
    'recycle_rate' => trim((string) env('GAME_RECYCLE_RATE', '1')),
];
