services.php 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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. ],
  12. /*
  13. |--------------------------------------------------------------------------
  14. | Third Party Services
  15. |--------------------------------------------------------------------------
  16. |
  17. | This file is for storing the credentials for third party services such
  18. | as Mailgun, Postmark, AWS and more. This file provides the de facto
  19. | location for this type of information, allowing packages to have
  20. | a conventional file to locate the various service credentials.
  21. |
  22. */
  23. 'mailgun' => [
  24. 'domain' => env('MAILGUN_DOMAIN'),
  25. 'secret' => env('MAILGUN_SECRET'),
  26. 'endpoint' => env('MAILGUN_ENDPOINT', 'api.mailgun.net'),
  27. 'scheme' => 'https',
  28. ],
  29. 'postmark' => [
  30. 'token' => env('POSTMARK_TOKEN'),
  31. ],
  32. 'ses' => [
  33. 'key' => env('AWS_ACCESS_KEY_ID'),
  34. 'secret' => env('AWS_SECRET_ACCESS_KEY'),
  35. 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
  36. ],
  37. 'google' => [
  38. 'client_id' => env('GOOGLE_CLIENT_ID'),
  39. 'client_secret' => env('GOOGLE_CLIENT_SECRET'),
  40. 'redirect_uri' => env('GOOGLE_REDIRECT_URI'),
  41. ],
  42. 'push' => [
  43. 'app_key' => env('J_PUSH_APP_KEY', ''),
  44. 'app_secret' => env('J_PUSH_APP_SECRET', ''),
  45. ],
  46. 'apple' => [
  47. 'shared_secret' => env('APPLE_SHARED_SECRET', ''),
  48. 'verify_receipt_uri' => env('APPLE_VERIFY_RECEIPT_URI', ''),
  49. ]
  50. ];