You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
641 B

6 years ago
  1. <?php
  2. namespace App\Service;
  3. interface OrderServiceInterface
  4. {
  5. /**
  6. * 线上订单下单
  7. * 外卖
  8. * @param $data
  9. * @return mixed
  10. */
  11. public function addOnlineOrder($data);
  12. /**
  13. * 线下订单下单
  14. * 扫码支付
  15. * @param $data
  16. * @return mixed
  17. */
  18. public function addOfflineOrder($data);
  19. /**
  20. * 订单是否已经存在
  21. * @param $global_order_id
  22. * @return mixed
  23. */
  24. public function existsByGlobalOrderId($global_order_id);
  25. /**
  26. * @param $global_order_id
  27. * @return mixed
  28. */
  29. public function onlineCompleted($global_order_id);
  30. }