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.
 
 

38 lines
814 B

<?php
namespace App\Service;
interface UserServiceInterface
{
/**
* 是否平台新用户
* @param $user_id
* @param $order_main_id
* @return mixed
*/
public function isPlatformNewUser($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);
/**
* 用户账户(钱包)
* @inheritDoc
* @param $userId
* @param $money
* @param $type 1增 2减
* @return mixed
*/
public function userWallet($userId,$money,$type);
}