sms.php 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <?php
  2. // +----------------------------------------------------------------------
  3. // | 短信配置
  4. // +----------------------------------------------------------------------
  5. return [
  6. //默认支付模式
  7. 'default' => 'aliyun',
  8. 'default_email' => 'email',
  9. //单个手机每日发送上限
  10. 'maxPhoneCount' => 10,
  11. //验证码每分钟发送上线
  12. 'maxMinuteCount' => 20,
  13. //单个IP每日发送上限
  14. 'maxIpCount' => 50,
  15. //驱动模式
  16. 'stores' => [
  17. //云信
  18. 'yunxin' => [
  19. //短信模板id
  20. 'template_id' => [
  21. //验证码
  22. 'VERIFICATION_CODE' => 518076,
  23. //支付成功
  24. 'PAY_SUCCESS_CODE' => 520268,
  25. //发货提醒
  26. 'DELIVER_GOODS_CODE' => 520269,
  27. //确认收货提醒
  28. 'TAKE_DELIVERY_CODE' => 520271,
  29. //管理员下单提醒
  30. 'ADMIN_PLACE_ORDER_CODE' => 520272,
  31. //管理员退货提醒
  32. 'ADMIN_RETURN_GOODS_CODE' => 520274,
  33. //管理员支付成功提醒
  34. 'ADMIN_PAY_SUCCESS_CODE' => 520273,
  35. //管理员确认收货
  36. 'ADMIN_TAKE_DELIVERY_CODE' => 520422,
  37. //改价提醒
  38. 'PRICE_REVISION_CODE' => 528288,
  39. //订单未支付
  40. 'ORDER_PAY_FALSE' => 528116,
  41. ],
  42. ],
  43. //阿里云
  44. 'aliyun' => [
  45. 'template_id' => [
  46. 'LOGIN' => 'SMS_205000357',
  47. 'REGISTER' => 'SMS_205000355',
  48. 'RESET' => 'SMS_205000354',
  49. 'RESET_2' => 'SMS_205000353',
  50. 'TRADE' => 'SMS_205000358',
  51. 'DEFAULT' => 'SMS_205406949',
  52. ]
  53. ],
  54. 'email' => [
  55. 'template_id' => [
  56. ]
  57. ]
  58. ]
  59. ];