template.php 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. <?php
  2. // +----------------------------------------------------------------------
  3. // | 模板消息配置
  4. // +----------------------------------------------------------------------
  5. return [
  6. //默认支付模式
  7. 'default' => 'wechat',
  8. //记录发送日志
  9. 'isLog' => true,
  10. //驱动模式
  11. 'stores' => [
  12. //微信
  13. 'wechat' => [
  14. //短信模板id
  15. 'template_id' => [
  16. //订单生成通知
  17. 'ORDER_CREATE' => 'OPENTM205213550',
  18. //支付成功
  19. 'ORDER_PAY_SUCCESS' => 'OPENTM207791277',
  20. //订单发货提醒(快递)
  21. 'ORDER_POSTAGE_SUCCESS' => 'OPENTM200565259',
  22. //订单发货提醒(送货)
  23. 'ORDER_DELIVER_SUCCESS' => 'OPENTM207707249',
  24. //订单收货通知
  25. 'ORDER_TAKE_SUCCESS' => 'OPENTM413386489',
  26. //退款进度通知
  27. 'ORDER_REFUND_STATUS' => 'OPENTM410119152',
  28. //帐户资金变动提醒
  29. 'USER_BALANCE_CHANGE' => 'OPENTM405847076',
  30. //客服通知提醒
  31. 'SERVICE_NOTICE' => 'OPENTM204431262',
  32. //服务进度提醒
  33. 'ADMIN_NOTICE' => 'OPENTM408237350',
  34. //拼团成功通知
  35. 'ORDER_USER_GROUPS_SUCCESS' => 'OPENTM407456411',
  36. //拼团失败通知
  37. 'ORDER_USER_GROUPS_LOSE' => 'OPENTM401113750',
  38. //开团成功
  39. 'OPEN_PINK_SUCCESS' => 'OPENTM414349441',
  40. //砍价成功
  41. 'BARGAIN_SUCCESS' => 'OPENTM410292733',
  42. ],
  43. ],
  44. //订阅消息
  45. 'subscribe' => [
  46. 'template_id' => [
  47. //订单发货提醒(送货)
  48. 'ORDER_POSTAGE_SUCCESS' => 1128,
  49. //提现成功通知
  50. 'USER_EXTRACT' => 1470,
  51. //确认收货通知
  52. 'OREDER_TAKEVER' => 1481,
  53. //订单取消
  54. 'ORDER_CLONE' => 1134,
  55. //订单发货提醒(快递)
  56. 'ORDER_DELIVER_SUCCESS' => 1458,
  57. //拼团成功
  58. 'PINK_TRUE' => 3098,
  59. //砍价成功
  60. 'BARGAIN_SUCCESS' => 2727,
  61. //核销成功通知
  62. 'ORDER_WRITE_OFF' => 3116,
  63. //新订单提醒
  64. 'ORDER_NEW' => 1476,
  65. //退款通知
  66. 'ORDER_REFUND' => 1451,
  67. //充值成功
  68. 'RECHARGE_SUCCESS' => 755,
  69. //订单支付成功
  70. 'ORDER_PAY_SUCCESS' => 1927,
  71. //申请退款通知 管理员提醒
  72. 'ORDER_REFUND_STATUS' => 1468,
  73. //积分到账提醒
  74. 'INTEGRAL_ACCOUT' => 335,
  75. //拼团状态通知
  76. 'PINK_STATUS' => 3353,
  77. ],
  78. ],
  79. ]
  80. ];