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.
29 lines
594 B
29 lines
594 B
<?php
|
|
|
|
|
|
namespace App\Service;
|
|
|
|
|
|
interface UserServiceInterface
|
|
{
|
|
/**
|
|
* 是否平台新用户
|
|
* @param $user_id
|
|
* @param $order_main_id
|
|
* @return mixed
|
|
*/
|
|
public function isStageNewUser($user_id, $order_main_id): bool;
|
|
|
|
public function saveUserUnionid($openid,$unionid);
|
|
|
|
/**
|
|
* 是否店铺当日首单
|
|
* @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);
|
|
|
|
}
|