message.php 606 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. # 数据收集的配置
  3. return array
  4. (
  5. # 发送给群组
  6. 'send_all' => array
  7. (
  8. 'url' => 'https://api.weixin.qq.com/cgi-bin/message/mass/sendall?',
  9. 'param' => Dever::load('weixin/message.data'),
  10. 'json' => true,
  11. ),
  12. # 发送给个人
  13. 'send_openid' => array
  14. (
  15. 'url' => 'https://api.weixin.qq.com/cgi-bin/message/mass/send?',
  16. 'param' => Dever::load('weixin/message.data'),
  17. 'json' => true,
  18. ),
  19. # 客服消息
  20. 'send_custom' => array
  21. (
  22. 'url' => 'https://api.weixin.qq.com/cgi-bin/message/custom/send?',
  23. 'param' => Dever::load('weixin/message.data'),
  24. 'json' => true,
  25. ),
  26. );