OrderPay.php 715 B

1234567891011121314151617181920212223242526
  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. * 添加下单用户为门店用户(todo 为兼容已存在但未完成的旧数据先保留)
  14. */
  15. class OrderPay
  16. {
  17. public function handle($order)
  18. {
  19. $store_order = new StoreOrder();
  20. $res = $store_order->orderPay($order);
  21. return $res;
  22. }
  23. }