MessageBindCode.php 748 B

12345678910111213141516171819202122232425262728293031
  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 app\model\member\Member;
  12. /**
  13. * 绑定发送验证码
  14. */
  15. class MessageBindCode
  16. {
  17. public function handle($param)
  18. {
  19. //发送订单消息
  20. if ($param[ "keywords" ] == "MEMBER_BIND") {
  21. $member_model = new Member();
  22. $result = $member_model->bindCode($param);
  23. return $result;
  24. }
  25. }
  26. }