You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

51 lines
2.4 KiB

  1. <?php
  2. /**
  3. * 微信消息推送配置文件 请注意编码格式 一定要使用utf8
  4. * 参数说明:
  5. * type 推送消息类型 分为:news:图文 video:视频 img:图片 voice:语音 这四类以数组来配置 文字类型则直接配字符串就行
  6. * id 素材ID 对应微信公众平台的素材 如要知道各个素材请访问 xxx.xxx.xx/module/wxInterface/getMedia?type=xxx
  7. *title 标题 只有视频才需要
  8. *des 简介 只有视频才需要
  9. *function 执行方法 当推送该消息时就会执行 WxDoFunction.php 中的该方法 如欢迎语时就会触发添加用户 addUser
  10. * ============================================================================
  11. * * 版权所有 运游通 * *
  12. * 网站地址: http://www.zhizhuchuxing.com
  13. * ----------------------------------------------------------------------------
  14. * 这不是一个自由软件!您只能在不用于商业目的的前提下对程序代码进行修改和
  15. * 使用;不允许对程序代码以任何形式任何目的的再发布。
  16. * ============================================================================
  17. * Author By: 倪宗锋
  18. * PhpStorm WxText.config.php
  19. * Create By 2017/1/4 15:09 $
  20. */
  21. return array(
  22. 'default' => '您的问题已经光速飞向客服,请耐心等待我们的回复,谢谢~',
  23. '单车' => '<a href="https://common.ofo.so/newdist/?MouthCardPage&channel=34231_1504692205489&type=2&duringType=1&subType=77973731">点击我领取蜘蛛出行骑行联名卡</a>',
  24. '视频' => array(//小视频
  25. 'type' => 'video',//类型 视频
  26. 'id' => 'FGV6tMS6FSixJwrxoMgyABc3P_bfmnEt8qUV3-J_M1s',//media_id
  27. 'title' => '小视频',//标题
  28. 'des' => '笑笑小视频'//简介
  29. ),
  30. '音乐' => array(
  31. 'type' => 'voice',
  32. 'id' => 'FGV6tMS6FSixJwrxoMgyAAitkX-PSTZ5LWDyPdlJuGg'
  33. ),
  34. '图片' => array(
  35. 'type' => 'img',
  36. 'id' => 'W1Po9FbHCDVcAZS-XYBWuJxBKRG2FbvqetpfRVw9E98'
  37. ),
  38. '客服' => '客服热线:025-85477639',
  39. '选座教程' => [
  40. 'type' => 'news',//类型 图文
  41. 'id' => 'AuXDjP791-NMcyJajUxBL2JlcrqphPGAa1pZIjD1iVM',
  42. ],
  43. '迪士尼图文' => [
  44. 'type' => 'news',//类型 图文
  45. 'id' => 'AuXDjP791-NMcyJajUxBL0lAaoS-ByS2eD611U8EbL4',
  46. ],
  47. '空白' => array(
  48. 'type' => 'img',
  49. 'id' => 'AuXDjP791-NMcyJajUxBL28eMDQuPRMZ3_A0fWoEX7A'
  50. ),
  51. );