sms.php 2.5 KB

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