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

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