sms.php 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <?php
  2. // +----------------------------------------------------------------------
  3. // | CRMEB [ CRMEB赋能开发者,助力企业发展 ]
  4. // +----------------------------------------------------------------------
  5. // | Copyright (c) 2016~2020 https://www.crmeb.com All rights reserved.
  6. // +----------------------------------------------------------------------
  7. // | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权
  8. // +----------------------------------------------------------------------
  9. // | Author: CRMEB Team <admin@crmeb.com>
  10. // +----------------------------------------------------------------------
  11. return [
  12. //默认短信发送模式
  13. 'default' => 'qiniu',
  14. //单个手机每日发送上限
  15. 'maxPhoneCount' => 10,
  16. //验证码每分钟发送上线
  17. 'maxMinuteCount' => 20,
  18. //单个IP每日发送上限
  19. 'maxIpCount' => 50,
  20. //驱动模式
  21. 'stores' => [
  22. //掌骏
  23. 'qiniu' => [
  24. //短信模板id
  25. 'template_id' => [
  26. //验证码
  27. 'VERIFICATION_CODE' => [
  28. 'notice_title' => '短信验证码',
  29. 'sms_content' => '您的验证码为${code},请勿泄露!'
  30. ],
  31. 'VERIFICATION_CODE_TIME' => [
  32. 'notice_title' => '短信验证码',
  33. 'sms_content' => '您的验证码为${code},${time}分钟内有效。'
  34. ],
  35. ],
  36. 'sign_name' => '',
  37. 'userid' => '15889',
  38. 'username' => 'yflkj',
  39. 'passwd' => 'yfl831**',
  40. ],
  41. //阿里云
  42. 'aliyun' => [
  43. 'template_id' => [
  44. //验证码
  45. 'VERIFICATION_CODE' => '',
  46. 'VERIFICATION_CODE_TIME' => '',
  47. ],
  48. 'sign_name' => '',
  49. 'access_key_id' => '',
  50. 'access_key_secret' => '',
  51. 'region_id' => ''
  52. ]
  53. ]
  54. ];