template.php 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  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' => 'wechat',
  14. //记录发送日志
  15. 'isLog' => true,
  16. //驱动模式
  17. 'stores' => [
  18. //微信
  19. 'wechat' => [
  20. //短信模板id
  21. 'template_id' => [
  22. //支付成功
  23. // 'ORDER_PAY_SUCCESS' => 'OPENTM418062102',
  24. 'ORDER_PAY_SUCCESS' => 43216,
  25. //订单发货提醒(送货)
  26. // 'ORDER_DELIVER_SUCCESS' => 'OPENTM416122303',
  27. //订单发货提醒(快递)
  28. // 'ORDER_POSTAGE_SUCCESS' => 'OPENTM415939287',
  29. 'ORDER_POSTAGE_SUCCESS' => 42984,
  30. //订单收货通知
  31. // 'ORDER_TAKE_SUCCESS' => 'OPENTM418528119',
  32. 'ORDER_TAKE_SUCCESS' => 50439,
  33. //退款成功通知
  34. // 'ORDER_REFUND_STATUS'=>'OPENTM207284059',
  35. 'ORDER_REFUND_STATUS'=> 48058,
  36. //拒绝退款通知
  37. 'ORDER_REFUND_FAIL'=> 46232,
  38. //充值成功通知
  39. // 'RECHARGE_SUCCESS' => 'OPENTM414089457',
  40. 'RECHARGE_SUCCESS' => 42934,
  41. //提现成功通知
  42. // 'USER_EXTRACT' => 'OPENTM405876306',
  43. 'USER_EXTRACT' => 51729,
  44. //积分到账通知
  45. // 'INTEGRAL_ACCOUT' => 'OPENTM201661503',
  46. //佣金到账
  47. // 'ORDER_BROKERAGE' => 'OPENTM400590844',
  48. //砍价成功
  49. // 'BARGAIN_SUCCESS' => 'OPENTM418554923',
  50. //拼团成功通知,参团成功
  51. // 'ORDER_USER_GROUPS_SUCCESS' => 'OPENTM409367318',
  52. //取消拼团,拼团失败
  53. // 'ORDER_USER_GROUPS_LOSE'=>'OPENTM418350969',
  54. //开团成功
  55. // 'OPEN_PINK_SUCCESS' => 'OPENTM410867947',
  56. //提现失败通知
  57. // 'USER_EXTRACT_FAIL' => 'OPENTM403167119',
  58. //服务进度提醒
  59. // 'ADMIN_NOTICE' => 'OPENTM415269411',
  60. //卡密发货提醒
  61. // 'KAMI_DELIVER_GOODS_CODE' => 'OPENTM414876266',
  62. // //订单生成通知
  63. // 'ORDER_CREATE' => 'OPENTM205213550',
  64. // //退款进度通知
  65. // 'ORDER_REFUND' => 'OPENTM410119152',
  66. // //拼团失败通知
  67. // 'SEND_ORDER_PINK_FIAL' => 'OPENTM401113750',
  68. // //充值退款通知
  69. // 'RECHARGE_ORDER_REFUND_STATUS' => '',
  70. // //退款申请未通过通知
  71. // 'SEND_ORDER_REFUND_NO_STATUS' => '',
  72. // //取消拼团提醒
  73. // 'SEND_ORDER_PINK_CLONE' => '',
  74. // //参团成功提醒
  75. // 'CAN_PINK_SUCCESS' => '',
  76. // //客服通知提醒
  77. // 'SERVICE_NOTICE' => 'OPENTM204431262',
  78. ],
  79. ],
  80. //订阅消息
  81. 'subscribe' => [
  82. 'template_id' => [
  83. //绑定推广关系
  84. 'BIND_SPREAD_UID' => 3801,
  85. //订单支付成功
  86. 'ORDER_PAY_SUCCESS' => 1927,
  87. //订单发货提醒(快递)
  88. 'ORDER_DELIVER_SUCCESS' => 1458,
  89. //订单发货提醒(送货)
  90. 'ORDER_POSTAGE_SUCCESS' => 1128,
  91. //确认收货通知
  92. 'ORDER_TAKE' => 1481,
  93. //退款通知
  94. 'ORDER_REFUND' => 1451,
  95. //充值成功
  96. 'RECHARGE_SUCCESS' => 755,
  97. //积分到账提醒
  98. 'INTEGRAL_ACCOUT' => 335,
  99. //佣金到账
  100. 'ORDER_BROKERAGE' => 14403,
  101. //砍价成功
  102. 'BARGAIN_SUCCESS' => 2727,
  103. //拼团成功
  104. 'PINK_TRUE' => 3098,
  105. //拼团状态通知
  106. 'PINK_STATUS' => 3353,
  107. //提现成功通知
  108. 'USER_EXTRACT' => 1470,
  109. // //订单取消
  110. // 'ORDER_CLONE' => 1134,
  111. // //核销成功通知
  112. // 'ORDER_WRITE_OFF' => 3116,
  113. // //新订单提醒
  114. // 'ORDER_NEW' => 1476,
  115. // //申请退款通知 管理员提醒
  116. // 'ORDER_REFUND_STATUS' => 1468,
  117. ],
  118. ],
  119. ]
  120. ];