sms.php 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?php
  2. // +----------------------------------------------------------------------
  3. // | CRMEB [ CRMEB赋能开发者,助力企业发展 ]
  4. // +----------------------------------------------------------------------
  5. // | Copyright (c) 2016~2023 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' => 'yihaotong',
  14. //单个手机每日发送上限
  15. 'maxPhoneCount' => 10,
  16. //验证码每分钟发送上线
  17. 'maxMinuteCount' => 20,
  18. //单个IP每日发送上限
  19. 'maxIpCount' => 50,
  20. //驱动模式
  21. 'stores' => [
  22. //一号通
  23. 'yihaotong' => [
  24. 'sms_account' => '',
  25. 'sms_token' => ''
  26. ],
  27. //阿里云
  28. 'aliyun' => [
  29. 'aliyun_SignName' => '',
  30. 'aliyun_AccessKeyId' => '',
  31. 'aliyun_AccessKeySecret' => '',
  32. 'aliyun_RegionId' => '',
  33. ],
  34. //腾讯云
  35. 'tencent' => [
  36. 'tencent_sms_app_id' => '',
  37. 'tencent_sms_secret_id' => '',
  38. 'tencent_sms_secret_key' => '',
  39. 'tencent_sms_sign_name' => '',
  40. 'tencent_sms_region' => '',
  41. ]
  42. ]
  43. ];