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.

23 lines
552 B

5 years ago
  1. <?php
  2. namespace App\Service\v3\Interfaces;
  3. interface UserServiceInterface
  4. {
  5. /**
  6. * 是否平台新用户
  7. * @param $user_id
  8. * @param $order_main_id
  9. * @return mixed
  10. */
  11. public function isPlatformNewUser($user_id, $order_main_id): bool;
  12. /**
  13. * 是否店铺当日首单
  14. * @param $user_id
  15. * @param $store_id
  16. * @param $current_order_id
  17. * @param int $limit_amount
  18. * @return mixed
  19. */
  20. public function isStoreFirstOrderToday($user_id, $store_id, $current_order_id, $limit_amount = 3);
  21. }