template.php 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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. //'EXTRACT_NOTICE' => 'OPENTM207601150',
  26. //订单收货通知
  27. 'ORDER_TAKE_SUCCESS' => 'OPENTM413386489',
  28. //帐户资金变动提醒
  29. 'USER_BALANCE_CHANGE' => 'OPENTM415437052',
  30. //退款申请通知
  31. 'ORDER_REFUND_STATUS' => 'OPENTM407277862',
  32. //退款进度提醒
  33. 'ORDER_REFUND_NOTICE' => 'OPENTM401479948',
  34. //退货确认提醒
  35. 'ORDER_REFUND_END' => 'OPENTM406292353',
  36. //拼团成功
  37. 'GROUP_BUYING_SUCCESS'=>'OPENTM417762951',
  38. //预订商品到货通知
  39. 'PRODUCT_INCREASE' => 'OPENTM200443061',
  40. ],
  41. ],
  42. //订阅消息
  43. 'subscribe' => [
  44. 'template_id' => [
  45. //订单发货提醒(快递)
  46. 'ORDER_POSTAGE_SUCCESS' => 1458,
  47. //提现成功通知
  48. 'USER_EXTRACT' => 1470,
  49. //订单发货提醒(配送)
  50. 'ORDER_DELIVER_SUCCESS' => 1128,
  51. //退款通知
  52. 'ORDER_REFUND_NOTICE' => 1451,
  53. //充值成功
  54. 'RECHARGE_SUCCESS' => 755,
  55. //订单支付成功
  56. 'ORDER_PAY_SUCCESS' => 1927,
  57. //商品到货通知
  58. 'PRODUCT_INCREASE' => 5019
  59. ],
  60. ],
  61. ]
  62. ];