services.php 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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', 3),
  12. 'retry_delay_seconds' => env('TELEGRAM_RETRY_DELAY_SECONDS', 3),
  13. 'retry_max_delay_seconds' => env('TELEGRAM_RETRY_MAX_DELAY_SECONDS', 10),
  14. ],
  15. /*
  16. |--------------------------------------------------------------------------
  17. | Third Party Services
  18. |--------------------------------------------------------------------------
  19. |
  20. | This file is for storing the credentials for third party services such
  21. | as Mailgun, Postmark, AWS and more. This file provides the de facto
  22. | location for this type of information, allowing packages to have
  23. | a conventional file to locate the various service credentials.
  24. |
  25. */
  26. 'mailgun' => [
  27. 'domain' => env('MAILGUN_DOMAIN'),
  28. 'secret' => env('MAILGUN_SECRET'),
  29. 'endpoint' => env('MAILGUN_ENDPOINT', 'api.mailgun.net'),
  30. 'scheme' => 'https',
  31. ],
  32. 'postmark' => [
  33. 'token' => env('POSTMARK_TOKEN'),
  34. ],
  35. 'ses' => [
  36. 'key' => env('AWS_ACCESS_KEY_ID'),
  37. 'secret' => env('AWS_SECRET_ACCESS_KEY'),
  38. 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
  39. ],
  40. 'google' => [
  41. 'client_id' => env('GOOGLE_CLIENT_ID'),
  42. 'client_secret' => env('GOOGLE_CLIENT_SECRET'),
  43. 'redirect_uri' => env('GOOGLE_REDIRECT_URI'),
  44. ],
  45. 'push' => [
  46. 'app_key' => env('J_PUSH_APP_KEY', ''),
  47. 'app_secret' => env('J_PUSH_APP_SECRET', ''),
  48. ],
  49. 'apple' => [
  50. 'shared_secret' => env('APPLE_SHARED_SECRET', ''),
  51. 'verify_receipt_uri' => env('APPLE_VERIFY_RECEIPT_URI', ''),
  52. ],
  53. 'playnow' => [
  54. 'keno_url' => env('PLAYNOW_KENO_URL', 'https://www.playnow.com/services2/keno/nextdraw'),
  55. 'timezone' => env('PLAYNOW_TIMEZONE', 'America/Vancouver'),
  56. 'proxy' => [
  57. 'scheme' => env('PLAYNOW_PROXY_SCHEME', 'http'),
  58. 'host' => env('PLAYNOW_PROXY_HOST', '155.138.141.119'),
  59. 'port' => env('PLAYNOW_PROXY_PORT', '3128'),
  60. 'username' => env('PLAYNOW_PROXY_USERNAME', 'proxyuser'),
  61. 'password' => env('PLAYNOW_PROXY_PASSWORD', ''),
  62. ],
  63. ],
  64. ];