sms.php 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <?php
  2. // +----------------------------------------------------------------------
  3. // | 短信配置
  4. // +----------------------------------------------------------------------
  5. return [
  6. //默认支付模式
  7. 'default' => 'yunxin',
  8. //单个手机每日发送上限
  9. 'maxPhoneCount' => 10,
  10. //验证码每分钟发送上线
  11. 'maxMinuteCount' => 20,
  12. //单个IP每日发送上限
  13. 'maxIpCount' => 50,
  14. //驱动模式
  15. 'stores' => [
  16. //云信
  17. 'yunxin' => [
  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. 'aliyun' => [
  44. 'template_id' => [
  45. 'VERIFICATION_CODE' => 'SMS_269055650',
  46. 'DEFAULT' => 'SMS_269055650',
  47. ]
  48. ]
  49. ]
  50. ];