services.php 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. <?php
  2. return [
  3. 'sms' => [
  4. 'username' => env('SMS_USERNAME', 'even7788'),//用户名
  5. 'password' => env('SMS_PASSWORD', 'Lpy@19920122'),//密码
  6. 'content' => env("SMS_CONTENT", '【二八科技】您的验证码是{code}。如非本人操作,请忽略本短信'),//短信内容
  7. ],
  8. 'telegram' => [
  9. 'token' => env('TELEGRAM_BOT_TOKEN'),
  10. 'username' => env('TELEGRAM_BOT_USERNAME'),
  11. 'retry_attempts' => env('TELEGRAM_RETRY_ATTEMPTS', 2),
  12. 'retry_delay_seconds' => env('TELEGRAM_RETRY_DELAY_SECONDS', 3),
  13. 'retry_max_delay_seconds' => env('TELEGRAM_RETRY_MAX_DELAY_SECONDS', 10),
  14. 'first_timeout' => env('TELEGRAM_FIRST_TIMEOUT', 5),
  15. 'first_connect_timeout' => env('TELEGRAM_FIRST_CONNECT_TIMEOUT', 3),
  16. 'proxy_timeout' => env('TELEGRAM_PROXY_TIMEOUT', 20),
  17. 'proxy_connect_timeout' => env('TELEGRAM_PROXY_CONNECT_TIMEOUT', 8),
  18. 'proxy' => [
  19. 'enabled' => env('TELEGRAM_PROXY_ENABLED', true),
  20. 'scheme' => env('TELEGRAM_PROXY_SCHEME', env('PLAYNOW_PROXY_SCHEME', 'http')),
  21. 'host' => env('TELEGRAM_PROXY_HOST', env('PLAYNOW_PROXY_HOST', '155.138.141.119')),
  22. 'port' => env('TELEGRAM_PROXY_PORT', env('PLAYNOW_PROXY_PORT', '3128')),
  23. 'username' => env('TELEGRAM_PROXY_USERNAME', env('PLAYNOW_PROXY_USERNAME', 'proxyuser')),
  24. 'password' => env('TELEGRAM_PROXY_PASSWORD', env('PLAYNOW_PROXY_PASSWORD', '')),
  25. ],
  26. ],
  27. /*
  28. |--------------------------------------------------------------------------
  29. | Third Party Services
  30. |--------------------------------------------------------------------------
  31. |
  32. | This file is for storing the credentials for third party services such
  33. | as Mailgun, Postmark, AWS and more. This file provides the de facto
  34. | location for this type of information, allowing packages to have
  35. | a conventional file to locate the various service credentials.
  36. |
  37. */
  38. 'mailgun' => [
  39. 'domain' => env('MAILGUN_DOMAIN'),
  40. 'secret' => env('MAILGUN_SECRET'),
  41. 'endpoint' => env('MAILGUN_ENDPOINT', 'api.mailgun.net'),
  42. 'scheme' => 'https',
  43. ],
  44. 'postmark' => [
  45. 'token' => env('POSTMARK_TOKEN'),
  46. ],
  47. 'ses' => [
  48. 'key' => env('AWS_ACCESS_KEY_ID'),
  49. 'secret' => env('AWS_SECRET_ACCESS_KEY'),
  50. 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
  51. ],
  52. 'google' => [
  53. 'client_id' => env('GOOGLE_CLIENT_ID'),
  54. 'client_secret' => env('GOOGLE_CLIENT_SECRET'),
  55. 'redirect_uri' => env('GOOGLE_REDIRECT_URI'),
  56. ],
  57. 'push' => [
  58. 'app_key' => env('J_PUSH_APP_KEY', ''),
  59. 'app_secret' => env('J_PUSH_APP_SECRET', ''),
  60. ],
  61. 'apple' => [
  62. 'shared_secret' => env('APPLE_SHARED_SECRET', ''),
  63. 'verify_receipt_uri' => env('APPLE_VERIFY_RECEIPT_URI', ''),
  64. ],
  65. 'playnow' => [
  66. 'keno_url' => env('PLAYNOW_KENO_URL', 'https://www.playnow.com/services2/keno/nextdraw'),
  67. 'timezone' => env('PLAYNOW_TIMEZONE', 'America/Vancouver'),
  68. 'proxy' => [
  69. 'scheme' => env('PLAYNOW_PROXY_SCHEME', 'http'),
  70. 'host' => env('PLAYNOW_PROXY_HOST', '155.138.141.119'),
  71. 'port' => env('PLAYNOW_PROXY_PORT', '3128'),
  72. 'username' => env('PLAYNOW_PROXY_USERNAME', 'proxyuser'),
  73. 'password' => env('PLAYNOW_PROXY_PASSWORD', ''),
  74. ],
  75. ],
  76. ];