OrderComplete.php 687 B

123456789101112131415161718192021222324252627
  1. <?php
  2. /**
  3. * Niushop商城系统 - 团队十年电商经验汇集巨献!
  4. * =========================================================
  5. * Copy right 2019-2029 杭州牛之云科技有限公司, 保留所有权利。
  6. * ----------------------------------------------
  7. * 官方网址: https://www.niushop.com
  8. * =========================================================
  9. */
  10. namespace addon\store\event;
  11. use addon\store\model\StoreOrder;
  12. /**
  13. * 添加下单用户为门店用户
  14. */
  15. class OrderComplete
  16. {
  17. public function handle($order)
  18. {
  19. $store_order = new StoreOrder();
  20. $res = $store_order->orderComplete($order['order_id']);
  21. return $res;
  22. }
  23. }