easy_sms.php 925 B

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. return [
  3. //code码验证存储方式
  4. 'cache_type' => env('CACHE_SMS_TYPE','redis'),
  5. //短信有效时长(分钟)
  6. 'cache_time' => env('CACHE_SMS_TIME','15'),
  7. //短信最短重发时间(秒)
  8. 'mix_time' => env('CACHE_MIX_TIME','60'),
  9. //签名信息
  10. 'sign_text'=>env('SIGN_TEXT',''),
  11. //请求超时时间
  12. 'timeout'=>env('SMS_TIMEOUT',''),
  13. //是否开启通用验证码
  14. 'is_current'=>env('IS_CURRENT',false),
  15. //通用验证码
  16. 'current_code'=>env('CURRENT_CODE','1234'),
  17. //kewail平台短信配置信息
  18. 'kewail' => [
  19. 'accesskey' => env('KEWAIL_ACCESSKEY',''),
  20. 'secretkey' => env('KEWAIL_SECRETKEY',''),
  21. ],
  22. 'ali' => [
  23. 'access_key_id' => env('ALI_ACCESS_KEY_ID',''),
  24. ],
  25. //企业宝短信配置
  26. 'qyb' => [
  27. 'username' => env('QYB_USERNAME',''),
  28. 'password' => env('QYB_PASSWORD',''),
  29. ]
  30. ];