MessageFenxiaoWithdrawalSuccess.php 857 B

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. /**
  3. * Niushop商城系统 - 团队十年电商经验汇集巨献!
  4. * =========================================================
  5. * Copy right 2019-2029 杭州牛之云科技有限公司, 保留所有权利。
  6. * ----------------------------------------------
  7. * 官方网址: https://www.niushop.com
  8. * =========================================================
  9. */
  10. namespace app\event;
  11. use addon\fenxiao\model\FenxiaoWithdraw;
  12. /**
  13. * 分销提现成功发送消息
  14. */
  15. class MessageFenxiaoWithdrawalSuccess
  16. {
  17. /**
  18. * @param $param
  19. */
  20. public function handle($param)
  21. {
  22. //发送订单消息
  23. if ($param[ "keywords" ] == "FENXIAO_WITHDRAWAL_SUCCESS") {
  24. //发送订单消息
  25. $model = new FenxiaoWithdraw();
  26. return $model->messageFenxiaoWithdrawalSuccess($param);
  27. }
  28. }
  29. }