MessagePintuanComplete.php 735 B

123456789101112131415161718192021222324252627
  1. <?php
  2. /**
  3. * Niushop商城系统 - 团队十年电商经验汇集巨献!
  4. * =========================================================
  5. * Copy right 2019-2029 杭州牛之云科技有限公司, 保留所有权利。
  6. * ----------------------------------------------
  7. * 官方网址: https://www.niushop.com
  8. * =========================================================
  9. */
  10. namespace addon\pintuan\event;
  11. use addon\pintuan\model\Pintuan;
  12. class MessagePintuanComplete
  13. {
  14. public function handle($param)
  15. {
  16. //发送消息
  17. if ($param[ "keywords" ] == "PINTUAN_COMPLETE") {
  18. $model = new Pintuan();
  19. $result = $model->pintuanCompleteMessage($param);
  20. return $result;
  21. }
  22. }
  23. }