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
540 B

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