template.php 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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. // +----------------------------------------------------------------------
  12. // | 模板消息配置
  13. // +----------------------------------------------------------------------
  14. return [
  15. //默认驱动模式
  16. 'default' => 'wechat',
  17. //记录发送日志
  18. 'isLog' => true,
  19. //驱动模式
  20. 'stores' => [
  21. //微信
  22. 'wechat' => [
  23. //短信模板id
  24. 'template_id' => [
  25. //订单生成通知
  26. 'ORDER_CREATE' => 'OPENTM205213550',
  27. //支付成功
  28. 'ORDER_PAY_SUCCESS' => 'OPENTM207791277',
  29. //订单发货提醒(快递)
  30. 'ORDER_POSTAGE_SUCCESS' => 'OPENTM200565259',
  31. //订单发货提醒(送货)
  32. 'ORDER_DELIVER_SUCCESS' => 'OPENTM207707249',
  33. //提现结果
  34. //'EXTRACT_NOTICE' => 'OPENTM207601150',
  35. //订单收货通知
  36. 'ORDER_TAKE_SUCCESS' => 'OPENTM413386489',
  37. //帐户资金变动提醒
  38. 'USER_BALANCE_CHANGE' => 'OPENTM415437052',
  39. //退款申请通知
  40. 'ORDER_REFUND_STATUS' => 'OPENTM407277862',
  41. //退款进度提醒
  42. 'ORDER_REFUND_NOTICE' => 'OPENTM401479948',
  43. //退货确认提醒
  44. 'ORDER_REFUND_END' => 'OPENTM406292353',
  45. //拼团成功
  46. 'GROUP_BUYING_SUCCESS'=>'OPENTM417762951',
  47. ],
  48. ],
  49. //订阅消息
  50. 'subscribe' => [
  51. 'template_id' => [
  52. //订单发货提醒(快递)
  53. 'ORDER_POSTAGE_SUCCESS' => 1458,
  54. //提现成功通知
  55. 'USER_EXTRACT' => 1470,
  56. //订单发货提醒(配送)
  57. 'ORDER_DELIVER_SUCCESS' => 1128,
  58. //退款通知
  59. 'ORDER_REFUND_NOTICE' => 1451,
  60. //充值成功
  61. 'RECHARGE_SUCCESS' => 755,
  62. //订单支付成功
  63. 'ORDER_PAY_SUCCESS' => 1927,
  64. ],
  65. ],
  66. ]
  67. ];