sms.php 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. ]
  46. ]
  47. ]
  48. ];