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.

28 lines
478 B

  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. * @return mixed
  16. */
  17. public function addOfflineOrder($data);
  18. /**
  19. * 订单是否已经存在
  20. * @param $orderNum
  21. * @return mixed
  22. */
  23. public function existsByOrderNum($orderNum);
  24. }