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.

27 lines
549 B

  1. <?php
  2. namespace App\Service;
  3. interface UserServiceInterface
  4. {
  5. /**
  6. * 是否平台新用户
  7. * @param $user_id
  8. * @return mixed
  9. */
  10. public function isStageNewUser($user_id): bool;
  11. public function saveUserUnionid($openid,$unionid);
  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. }