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.
24 lines
552 B
24 lines
552 B
<?php
|
|
|
|
namespace App\Service\v3\Interfaces;
|
|
|
|
interface UserServiceInterface
|
|
{
|
|
/**
|
|
* 是否平台新用户
|
|
* @param $user_id
|
|
* @param $order_main_id
|
|
* @return mixed
|
|
*/
|
|
public function isPlatformNewUser($user_id, $order_main_id): bool;
|
|
|
|
/**
|
|
* 是否店铺当日首单
|
|
* @param $user_id
|
|
* @param $store_id
|
|
* @param $current_order_id
|
|
* @param int $limit_amount
|
|
* @return mixed
|
|
*/
|
|
public function isStoreFirstOrderToday($user_id, $store_id, $current_order_id, $limit_amount = 3);
|
|
}
|