sms.php 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. <?php
  2. // +----------------------------------------------------------------------
  3. // | CRMEB [ CRMEB赋能开发者,助力企业发展 ]
  4. // +----------------------------------------------------------------------
  5. // | Copyright (c) 2016~2020 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' => 'yunxin',
  14. //单个手机每日发送上限
  15. 'maxPhoneCount' => 10,
  16. //验证码每分钟发送上线
  17. 'maxMinuteCount' => 20,
  18. //单个IP每日发送上限
  19. 'maxIpCount' => 50,
  20. //驱动模式
  21. 'stores' => [
  22. //云信
  23. 'yunxin' => [
  24. //短信模板id
  25. 'template_id' => [
  26. //验证码自定义时效
  27. 'VERIFICATION_CODE_TIME' => 538393,
  28. //验证码
  29. 'VERIFICATION_CODE' => 518076,
  30. //支付成功
  31. 'PAY_SUCCESS_CODE' => 520268,
  32. //发货提醒
  33. 'DELIVER_GOODS_CODE' => 520269,
  34. //卡密发货提醒
  35. 'KAMI_DELIVER_GOODS_CODE' => 849210,
  36. //确认收货提醒
  37. 'TAKE_DELIVERY_CODE' => 520271,
  38. //管理员下单提醒
  39. 'ADMIN_PLACE_ORDER_CODE' => 520272,
  40. //管理员退货提醒
  41. 'ADMIN_RETURN_GOODS_CODE' => 520274,
  42. //管理员支付成功提醒
  43. 'ADMIN_PAY_SUCCESS_CODE' => 520273,
  44. //管理员确认收货
  45. 'ADMIN_TAKE_DELIVERY_CODE' => 520422,
  46. //改价提醒
  47. 'PRICE_REVISION_CODE' => 528288,
  48. //订单未支付
  49. 'ORDER_PAY_FALSE' => 528116,
  50. //异地登录通知
  51. 'LOGIN_CITY_ERROR' => 687193,
  52. //充值余额
  53. 'RECHARGE_SUCCESS' => 811355,
  54. //充值退款
  55. 'RECHARGE_ORDER_REFUND_STATUS' => 811356,
  56. //核销成功提醒 次卡
  57. 'REMINDER_VERIFICATION_STATUS' => 947454,
  58. //过期提醒 次卡
  59. 'EXPIRATION_REMINDER' => 947455,
  60. //临期提醒 次卡
  61. 'REMINDER_BRINK_DEATH' => 947456,
  62. //退款成功通知
  63. 'ORDER_REFUND_STATUS'=> 979010,
  64. //积分到账通知
  65. 'INTEGRAL_ACCOUT' => 979009,
  66. //佣金到账
  67. 'ORDER_BROKERAGE' => 979008,
  68. //砍价成功
  69. 'BARGAIN_SUCCESS' => 979007,
  70. //拼团成功通知
  71. 'ORDER_USER_GROUPS_SUCCESS' => 979006,
  72. //开团成功
  73. 'OPEN_PINK_SUCCESS' => 979005,
  74. //提现成功通知
  75. 'USER_EXTRACT' => 979003,
  76. //提现失败通知
  77. 'USER_EXTRACT_FAIL' => 979002,
  78. //退款申请未通过通知
  79. 'SEND_ORDER_REFUND_NO_STATUS' => 979001,
  80. //取消拼团提醒
  81. 'SEND_ORDER_PINK_CLONE' => 979000,
  82. //参团成功提醒
  83. 'CAN_PINK_SUCCESS' => 978999,
  84. //拼团失败通知
  85. 'SEND_ORDER_PINK_FIAL' => 979431,
  86. //供应商入驻审核通过通知
  87. 'SUPPLIER_VERIFY_SUCCESS' => 984128,
  88. //供应商入驻审核未通过通知
  89. 'SUPPLIER_VERIFY_FAIL' => 984127,
  90. ],
  91. ],
  92. //阿里云
  93. 'aliyun' => [
  94. 'template_id' => [
  95. //验证码
  96. 'VERIFICATION_CODE' => '',
  97. //支付成功
  98. 'PAY_SUCCESS_CODE' => '',
  99. //发货提醒
  100. 'DELIVER_GOODS_CODE' => '',
  101. //确认收货提醒
  102. 'TAKE_DELIVERY_CODE' => '',
  103. //管理员下单提醒
  104. 'ADMIN_PLACE_ORDER_CODE' => '',
  105. //管理员退货提醒
  106. 'ADMIN_RETURN_GOODS_CODE' => '',
  107. //管理员支付成功提醒
  108. 'ADMIN_PAY_SUCCESS_CODE' => '',
  109. //管理员确认收货
  110. 'ADMIN_TAKE_DELIVERY_CODE' => '',
  111. //改价提醒
  112. 'PRICE_REVISION_CODE' => '',
  113. //订单未支付
  114. 'ORDER_PAY_FALSE' => '',
  115. ],
  116. 'sign_name' => '',
  117. 'access_key_id' => '',
  118. 'access_key_secret' => '',
  119. 'region_id' => ''
  120. ]
  121. ]
  122. ];